ProjetVM/Dockerfile
2025-12-08 14:18:02 +01:00

14 lines
285 B
Docker

FROM python:3.12
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r requirements.txt --break-system-packages
EXPOSE 5000
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["sh", "run.sh"]