salzarbeiter/Dockerfile

16 lines
262 B
Docker
Raw Normal View History

2024-01-24 21:49:03 +01:00
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"]