summaryrefslogtreecommitdiff
path: root/stegtoy/Dockerfile
blob: 8ddf77f3407ed904ddb5674001fa6cc1a35f7e03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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