aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2023-06-13 17:48:40 +0000
committerAnthony Wang2023-06-13 17:48:40 +0000
commitb975a0e042de167c726f595a8468d1b68df1b420 (patch)
tree6e116f6573874d923985377391e5a3915097239b
parent2997e4ce56a7dd0c9b98c0a9a3c4e7dbfd10eb31 (diff)
Actually add Dockerfile
-rw-r--r--Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..b3fb74b
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,6 @@
+FROM ubuntu
+RUN apt-get update
+RUN apt-get upgrade -y
+RUN apt-get install -y python-is-python3 ttyd
+COPY main.py main.py
+CMD ttyd -i /pages/ttyd.sock python main.py \ No newline at end of file