We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c987a38 commit 542c810Copy full SHA for 542c810
Dockerfile
@@ -0,0 +1,20 @@
1
+# Use the official Python image from the Docker Hub
2
+FROM python:3.11-slim
3
+
4
+# Set environment variables
5
+ENV PYTHONDONTWRITEBYTECODE=1
6
+ENV PYTHONUNBUFFERED=1
7
8
+# Set working directory
9
+WORKDIR /app
10
11
+# Install dependencies
12
+COPY requirements.txt .
13
+RUN pip install --upgrade pip \
14
+ && pip install -r requirements.txt
15
16
+# Copy the rest of the application code
17
+COPY . .
18
19
+# Default command to run the application (adjust as needed)
20
+CMD ["python", "main.py"]
0 commit comments