summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorKeuin <[email protected]>2023-06-03 16:15:06 +0800
committerKeuin <[email protected]>2023-06-03 16:15:06 +0800
commite6c29a08b7fbbbd4533d635a51e71a8060ab9d48 (patch)
tree8d6670775f253f13f97ae3f94a567bda315e8e74 /Dockerfile
parent8280adff0a4ebe5603162ba3d77aaed36c262075 (diff)
Dockerize
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..e520c79
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,11 @@
+FROM python:3.10
+
+WORKDIR /app
+
+COPY requirements.txt .
+
+RUN pip3 install --no-cache-dir -r requirements.txt
+
+COPY *.py .
+
+CMD ["python3", "web.py"] \ No newline at end of file