Browse Source

add Dockerfile

gr703_smrma 2 years ago
parent
commit
5b6d90b9b4
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Dockerfile

+ 5 - 0
Dockerfile

@@ -0,0 +1,5 @@
+FROM python:3.10-slim
+COPY requirements.txt /
+RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir -r requirements.txt
+COPY main.py .
+CMD [ "python3", "main.py" ]