Browse Source

dockerfile

GitUser 2 years ago
parent
commit
e875350b03
1 changed files with 9 additions and 0 deletions
  1. 9 0
      Dockerfile.txt

+ 9 - 0
Dockerfile.txt

@@ -0,0 +1,9 @@
+from python3.10-slim
+
+RUN pip install --no-cache-dir --upgrade pip \
+  && pip install --no-cache-dir -r requests
+
+COPY main.py
+CMD ["python3","./main.py"]
+EXPOSE 8000
+