summaryrefslogtreecommitdiff
path: root/stegtoy/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'stegtoy/Dockerfile')
-rw-r--r--stegtoy/Dockerfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/stegtoy/Dockerfile b/stegtoy/Dockerfile
new file mode 100644
index 0000000..8ddf77f
--- /dev/null
+++ b/stegtoy/Dockerfile
@@ -0,0 +1,15 @@
+FROM ubuntu:20.10
+
+ENV DEBIAN_FRONTEND=noninteractive
+
+RUN apt-get update && apt-get install -y \
+ python3-dev python3-pip python3-setuptools
+
+ENV APP_HOME /app
+RUN mkdir ${APP_HOME}
+WORKDIR ${APP_HOME}
+
+COPY ./app ${APP_HOME}
+RUN pip3 install --no-cache-dir -r requirements.txt
+CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:8086", "stegtoy:app"]
+EXPOSE 8086