dapa / Dockerfile.server
raushan-in's picture
file added
66c0d0c
raw
history blame contribute delete
303 Bytes
FROM python:3.12.3-slim
# Set environment variables
ENV PYTHONUNBUFFERED 1
WORKDIR /app
COPY requirements_server.txt ./
RUN pip install --no-cache-dir -r requirements_server.txt
# Copy the application code
COPY . .
# Expose the port
EXPOSE 8080
# Start the backend app
CMD ["python", "src/main.py"]