Spaces:
Running
Running
Upload dockerfile
Browse files- dockerfile +12 -0
dockerfile
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Dockerfile
|
2 |
+
FROM python:3.11
|
3 |
+
|
4 |
+
WORKDIR /app
|
5 |
+
COPY . /app
|
6 |
+
|
7 |
+
# Upgrade pip and install dependencies
|
8 |
+
RUN pip install --upgrade pip
|
9 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
10 |
+
|
11 |
+
# Expose port and run the app (modify the command if needed)
|
12 |
+
CMD ["python", "app.py"]
|