Adrianux.net/Dockerfile
ahoemann b39983777b
All checks were successful
/ update (push) Successful in 0s
change: migrated from python image to alpine image
2025-01-16 07:06:05 +00:00

12 lines
No EOL
316 B
Docker

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" ]