From 792a8a8e15e627938b8bfc384cb68153667f6608 Mon Sep 17 00:00:00 2001 From: Tommi Penttinen <tmpent@utu.fi> Date: Tue, 22 Jun 2021 13:25:17 +0000 Subject: [PATCH] Add new file --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ad25548 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +# This file is a template, and might need editing before it works on your project. +FROM partlab/ubuntu-websocketd + +WORKDIR /usr/src/app + +# COPY requirements.txt /usr/src/app/ +# RUN pip install --no-cache-dir -r requirements.txt + +COPY . /usr/src/app + +# For Django +EXPOSE 8080 +CMD ["websocketd", "--port", "8080", "python", "/usr/src/app/websocketd_server.py", "/opt/persist/data.csv"] -- GitLab