Dockerfile 255 Bytes
Newer Older
JackV's avatar
JackV committed
1
2
FROM alpine:latest

3
COPY . /uus
JackV's avatar
JackV committed
4

5
6
RUN apk add -U python3 py3-gunicorn && \
    pip3 install /uus && \
7
8
    rm -Rf /uus && \
    ln -s "$(which flask)" /usr/bin/uus
JackV's avatar
JackV committed
9

10
ENV FLASK_APP=uus
JackV's avatar
JackV committed
11

12
COPY uus_mng /
13

JackV's avatar
JackV committed
14
15
16
EXPOSE 8000

ENTRYPOINT gunicorn -b 0.0.0.0 -w 4 uus:app