mirror of
https://github.com/ldericher/fftcgtool
synced 2025-12-06 16:43:00 +00:00
22 lines
353 B
Docker
22 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"]
|