This commit is contained in:
parent
b83a60f822
commit
9f8f0c94ff
1 changed files with 4 additions and 6 deletions
|
@ -5,12 +5,10 @@ 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
|
||||
RUN /opt/.venv/bin/pip install --no-cache-dir -r requirements.txt
|
||||
RUN apk del git
|
||||
RUN apk add go
|
||||
COPY . .
|
||||
RUN chmod +x website
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD [ "/opt/.venv/bin/waitress-serve", "--listen=0.0.0.0:8080", "app:app" ]
|
||||
CMD [ "/opt/./website" ]
|
Loading…
Add table
Reference in a new issue