392-RL-Final-Project / Dockerfile
gkemp181's picture
update docker
cec52dc
raw
history blame contribute delete
332 Bytes
# Use a lightweight Python base
FROM python:3.10-slim
# Set working directory in container
WORKDIR /app
# Copy and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy your app code
COPY . .
# Expose the port the app runs on
EXPOSE 7860
# Run your app
CMD ["python", "app.py"]