salzarbeiter/Dockerfile

16 lines
262 B
Docker

FROM python:3.12-alpine
RUN apk --no-cache add \
gcc musl-dev
RUN mkdir -p /app && \
mkdir -p /etc/salzarbeiter
COPY ./ /app/
RUN ["python3","-m","pip","install","-r","/app/requirements.txt"]
VOLUME /etc/salzarbeiter
CMD ["python3","/app/main.py"]