volga_ctf_2022/services/aesthetic/build/Dockerfile
2023-01-15 13:53:21 +03:00

9 lines
259 B
Docker

FROM python:3.6-alpine
WORKDIR /dist
RUN apk add --update build-base libffi-dev openssl-dev
COPY src/requirements.txt /dist/requirements.txt
RUN pip install --no-cache-dir -r requirements.txt && mkdir db
COPY src .
CMD ["python", "-u", "app.py"]
EXPOSE 8777