feat: set urls via environment variables; removed: configuration parser
All checks were successful
/ update (push) Successful in 0s
All checks were successful
/ update (push) Successful in 0s
This commit is contained in:
parent
fda16a4744
commit
a6aae99ed0
3 changed files with 8 additions and 16 deletions
|
@ -1,6 +1,9 @@
|
|||
FROM alpine:latest
|
||||
WORKDIR /opt/
|
||||
|
||||
ENV git_url=https://git.adrianux.net
|
||||
ENV website_url=https://adrianux.net
|
||||
ENV debug_mode=False
|
||||
RUN apk add --no-cache git python3
|
||||
RUN git clone https://git.adrianux.net/ahoemann/Adrianux.net.git /opt
|
||||
RUN python3 -m venv /opt/.venv
|
||||
|
@ -9,4 +12,4 @@ RUN apk del git
|
|||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD [ "/opt/.venv/bin/waitress-serve", "--listen=0.0.0.0:8080", "app:app" ]
|
||||
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