Adrianux.net/Dockerfile

12 lines
316 B
Text
Raw Normal View History

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
2024-12-06 07:09:40 +00:00
EXPOSE 8080
CMD [ "/opt/.venv/bin/waitress-serve", "--listen=0.0.0.0:8080", "app:app" ]