prediction-model / Dockerfile
aakash200's picture
Update Dockerfile
0d2e129 verified
Raw
History Blame Contribute Delete
325 Bytes
# Use official Python image
FROM python:3.10
# Set working directory inside container
WORKDIR /app
# Copy all project files into the container
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the port your app runs on
EXPOSE 8000
# Run your Python app
CMD ["python", "app.py"]