Files
holy-flavor-rater/backend/Dockerfile
T

23 lines
466 B
Docker

# Use an official Python runtime as a parent image
FROM python:3.14-slim
# Set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
# Set the working directory in the container
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the backend code
COPY . .
# Expose the port the app runs on
EXPOSE 8000
# Run the entrypoint script
ENTRYPOINT ["./entrypoint.sh"]