This commit is contained in:
parent
b39983777b
commit
b75e83c6c1
1 changed files with 1 additions and 1 deletions
12
Dockerfile
12
Dockerfile
|
@ -1,12 +0,0 @@
|
|||
FROM alpine:latest
|
||||
WORKDIR /opt/
|
||||
|
||||
RUN apk add git python3
|
||||
RUN git clone https://git.adrianux.net/ahoemann/Adrianux.net.git /opt
|
||||
RUN python3 -m venv /opt/.venv
|
||||
RUN /opt/.venv/bin/pip install -r requirements.txt
|
||||
RUN apk del git
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD [ "/opt/.venv/bin/waitress-serve", "--listen=0.0.0.0:8080", "app:app" ]
|
Loading…
Add table
Add a link
Reference in a new issue