1
0
Fork 0
mirror of https://github.com/ldericher/fftcgtool synced 2025-01-15 15:02:59 +00:00
fftcgtool/Dockerfile

27 lines
416 B
Docker
Raw Normal View History

2021-08-03 00:22:00 +00:00
FROM python:3.6-alpine
2018-11-02 18:49:35 +00:00
ENV PYTHONUNBUFFERED 1
2021-08-03 00:22:00 +00:00
WORKDIR "/app"
RUN set -ex; \
pip3 install pipenv;
COPY Pipfile Pipfile.lock ./
RUN set -ex; \
\
# install build prerequisites
2021-08-04 01:46:57 +00:00
apk add --no-cache \
2018-11-02 18:49:35 +00:00
build-base \
jpeg-dev \
zlib-dev \
2021-08-03 00:22:00 +00:00
; \
pipenv sync; \
# remove build prerequisites
2021-08-04 01:46:57 +00:00
apk del --no-cache build-base;
2018-11-02 18:49:35 +00:00
COPY . .
2021-08-03 00:22:00 +00:00
ENTRYPOINT ["pipenv", "run", "./main.py"]