1
0
Fork 0
mirror of https://github.com/ldericher/fftcgtool synced 2025-01-15 15:02:59 +00:00
fftcgtool/Dockerfile
2021-08-04 03:46:57 +02:00

26 lines
416 B
Docker

FROM python:3.6-alpine
ENV PYTHONUNBUFFERED 1
WORKDIR "/app"
RUN set -ex; \
pip3 install pipenv;
COPY Pipfile Pipfile.lock ./
RUN set -ex; \
\
# install build prerequisites
apk add --no-cache \
build-base \
jpeg-dev \
zlib-dev \
; \
pipenv sync; \
# remove build prerequisites
apk del --no-cache build-base;
COPY . .
ENTRYPOINT ["pipenv", "run", "./main.py"]