Portfolio/Dockerfile
2024-12-30 17:07:58 -06:00

18 lines
314 B
Docker

# Use an official Python runtime as a parent image
FROM python:3.9-slim
# Set the working directory
WORKDIR /app
# Copy the application files
COPY app/ /app
# Install dependencies
RUN pip install -r requirements.txt
# Expose the port the app runs on
EXPOSE 5000
# Run the application
CMD ["python", "app.py"]