Docker compose and README

This commit is contained in:
Manuel Hude
2021-01-16 17:45:08 +01:00
parent 5012c8943f
commit c7e58cad59
10 changed files with 22111 additions and 26 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM python:3.8-slim
ENV PYTHONUNBUFFERED 1
RUN python -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
RUN python -m pip install --upgrade pip
ENV PATH="/opt/venv/bin:$PATH"
RUN mkdir /code
WORKDIR /code
COPY requirements.txt /code/
RUN pip install -r requirements.txt
COPY . /code/