1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
FROM python:3.8-alpine COPY . /app WORKDIR /app # GCC for Alpine Linux in Docker RUN apk add build-base # Dependencies RUN pip install -r requirements.txt EXPOSE 30417 ENTRYPOINT ["python"] CMD ["app/app.py"]