diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..ad255485f3174407163eefe85317ad6eb046e7b1 --- /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"]