mirror of
https://github.com/ldericher/fftcgtool
synced 2025-01-15 15:02:59 +00:00
21 lines
353 B
Docker
21 lines
353 B
Docker
FROM python:3.7-alpine
|
|
|
|
ENV LIBRARY_PATH=/lib:/usr/lib
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
RUN \
|
|
# install build prerequisites \
|
|
apk add --no-cache \
|
|
build-base \
|
|
jpeg-dev \
|
|
zlib-dev \
|
|
&& pip3 install pillow requests \
|
|
# remove build prerequisites \
|
|
&& apk del --no-cache \
|
|
build-base
|
|
|
|
WORKDIR "/app"
|
|
|
|
COPY . .
|
|
|
|
CMD ["./main.py"]
|