Spaces:
Running
Running
File size: 465 Bytes
314f196 3456720 314f196 3456720 314f196 3456720 314f196 3456720 314f196 3456720 314f196 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # Use official Python slim image
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy backend source code and config files
COPY . /app
# Install bash and Python dependencies, then install your package
RUN apt-get update && apt-get install -y bash \
&& pip install --no-cache-dir -r requirements.txt \
&& pip install --no-cache-dir .
# Expose backend port (adjust if needed)
EXPOSE 8000
# Default command: start bash shell
CMD ["/bin/bash"]
|