mirror of
https://github.com/ldericher/fftcgtool
synced 2025-01-15 15:02:59 +00:00
26 lines
430 B
Docker
26 lines
430 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 -t build_reqs --no-cache \
|
|
build-base \
|
|
jpeg-dev \
|
|
zlib-dev \
|
|
; \
|
|
pipenv sync; \
|
|
# remove build prerequisites
|
|
apk del --no-cache build_reqs;
|
|
|
|
COPY . .
|
|
|
|
ENTRYPOINT ["pipenv", "run", "./main.py"]
|