Changed base image for app container to alpine

This commit is contained in:
Marcin-Ramotowski
2025-04-10 20:38:59 +00:00
parent 084e3868f9
commit ed8fcedba4
2 changed files with 13 additions and 6 deletions

View File

@ -1,5 +1,6 @@
FROM python:3.11.7-slim-bookworm
FROM python:3.11.7-alpine
WORKDIR /app
COPY api .
RUN pip install -r requirements.txt
CMD python3 app.py
EXPOSE 80
CMD ["python3", "app.py"]