浏览代码

Webserver

xSweet 2 年之前
父节点
当前提交
131fad474b
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      Dockerfile

+ 9 - 0
Dockerfile

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