Files
elo-rezept-rechner/Dockerfile
Wolfgang Hottgenroth 24fb1c2941
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
libpq, 3
2024-01-30 15:00:51 +01:00

19 lines
244 B
Docker

FROM python:3.12-alpine3.19
ARG APP_DIR="/opt/app"
COPY ./src/ ${APP_DIR}/
COPY start.sh ${APP_DIR}/
WORKDIR ${APP_DIR}
RUN \
apk add --no-cache build-base libpq-dev && \
pip install -r requirements.txt
EXPOSE 8080
CMD "./start.sh"