Browse Source

dockerfile

GitUser 2 năm trước cách đây
mục cha
commit
e875350b03
1 tập tin đã thay đổi với 9 bổ sung0 xóa
  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
+