All checks were successful
continuous-integration/drone/push Build is passing
15 lines
328 B
Docker
15 lines
328 B
Docker
FROM python:3.8-alpine as base
|
|
|
|
FROM base as builder
|
|
RUN mkdir /install
|
|
WORKDIR /install
|
|
COPY requirements.txt /requirements.txt
|
|
RUN pip install --install-option="--prefix=/install" -r /requirements.txt
|
|
|
|
FROM base
|
|
COPY --from=builder /install /usr/local
|
|
WORKDIR /home/appuser
|
|
|
|
COPY ./ ./
|
|
ENTRYPOINT ["python", "./genspells.py"]
|