dockerized structure

This commit is contained in:
Ville Rantanen
2022-09-23 20:32:27 +03:00
parent 4602b4aa06
commit 08e60efabc
20 changed files with 640 additions and 550 deletions

10
code/Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
#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