This repository has been archived on 2024-07-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
back-python/Dockerfile
T
2024-04-26 18:02:18 +02:00

13 lines
240 B
Docker

FROM python:alpine3.19
WORKDIR /usr/app
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY src .
CMD ["python3", "-u", "main.py"]