Files
invitation/backend/Dockerfile
2026-05-05 12:11:41 +03:00

22 lines
441 B
Docker

FROM python:3.13-slim-bookworm
# Set the PYTHONPATH environment variable
ENV PYTHONPATH=/usr/local/lib
# Set the working directory
WORKDIR /app
# Copy only the requirements file first
COPY requirements.txt requirements.txt
# Install dependencies
RUN pip3 install --no-cache-dir -r requirements.txt
# Copy the rest of the application code
COPY . .
EXPOSE 5000
# Set the command to run your application
CMD ["/bin/sh", "entrypoint.sh"]