summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..412b929
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,10 @@
+FROM ubuntu
+
+RUN apt update -y && apt install -y python3-pip
+RUN pip install psycopg2-binary
+
+COPY index.html /src/index.html
+COPY server.py /src/server.py
+
+WORKDIR /src
+CMD python3 server.py