We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89178b1 commit 9d80badCopy full SHA for 9d80bad
1 file changed
Dockerfile
@@ -0,0 +1,17 @@
1
+# Use an official Python runtime as a parent image
2
+FROM python:3.12-slim
3
+
4
+# Set the working directory
5
+WORKDIR /app
6
7
+# Copy the current directory contents into the container
8
+COPY . .
9
10
+# Install dependencies
11
+RUN pip install --no-cache-dir -r requirements.txt
12
13
+# Expose the port the app runs on
14
+EXPOSE 5000
15
16
+# Run the application
17
+CMD ["python", "app.py"]
0 commit comments