Files
mdshop/code/Dockerfile
2022-09-23 20:32:27 +03:00

11 lines
274 B
Docker

#FROM alpine:3.10
FROM python:3
COPY requirements.txt /requirements.txt
RUN python3 -m venv /venv && \
. /venv/bin/activate && \
pip3 install --upgrade pip && \
pip3 install -r /requirements.txt
COPY . /code/
WORKDIR /code
CMD . /venv/bin/activate && ./start.me