diff options
| author | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2021-04-06 12:23:00 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2021-04-06 12:25:17 -0400 |
| commit | 983cd29f5a2c3d9cd1d6a9c4f343adcffe54f88c (patch) | |
| tree | 395f4bf2dfe097d9d09413ad1b805765b2e7eae0 /stegtoy/Dockerfile | |
Diffstat (limited to 'stegtoy/Dockerfile')
| -rw-r--r-- | stegtoy/Dockerfile | 15 |
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 |