moda-backend / Dockerfile
zaidmehdi's picture
Upload 4 files
311b48d verified
raw
history blame contribute delete
261 Bytes
FROM python:3.11.8-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
COPY src /app/src
COPY images /app/images
COPY .env /app/.env
EXPOSE 8080
CMD ["python", "-m", "src.main"]