hellodocker/Dockerfile
Tom Carron 43e783f130
Some checks failed
Build and Push Docker Image then Slack webhook / build-and-push (push) Failing after 23s
Build and Push Docker Image then Slack webhook / slack-notification (push) Has been skipped
first commit
2025-05-22 15:57:46 +01:00

18 lines
329 B
Docker

# Use an official Python runtime as base image
FROM python:3.11
# Set the working directory in the container
WORKDIR /app
# Copy files to the container
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the application port
EXPOSE 5000
# Run the application
CMD ["python", "app.py"]