galerie-site/Dockerfile
Julius 9a0e735048
All checks were successful
continuous-integration/drone Build is passing
Coming out week en docker updates
2023-10-12 22:13:46 +02:00

21 lines
389 B
Docker

FROM python:3.12-alpine as build
WORKDIR /app
COPY Pipfile* /app/
RUN pip install pipenv && pipenv install --system --deploy
COPY app.py /app/app.py
COPY templates/ /app/templates
COPY data/ /app/data
COPY hash /app/hash
RUN python ./app.py
FROM docker.io/library/nginx:1.25-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist/ /usr/share/nginx/html/