Spaces:
Runtime error
Runtime error
Upload 2 files
Browse files- Dockerfile +2 -2
- requirements.txt +1 -1
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# Use an official Python runtime as the parent image
|
2 |
-
FROM python:3.
|
3 |
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
@@ -30,4 +30,4 @@ ENV FLASK_APP=app.py
|
|
30 |
ENV FLASK_RUN_HOST=0.0.0.0
|
31 |
|
32 |
# Run app.py when the container launches
|
33 |
-
CMD ["flask", "run", "--port=8000"]
|
|
|
1 |
# Use an official Python runtime as the parent image
|
2 |
+
FROM python:3.10-slim
|
3 |
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
|
|
30 |
ENV FLASK_RUN_HOST=0.0.0.0
|
31 |
|
32 |
# Run app.py when the container launches
|
33 |
+
CMD ["flask", "run", "--port=8000"]
|
requirements.txt
CHANGED
@@ -6,4 +6,4 @@ torch==1.11.*
|
|
6 |
numpy<2.0.0
|
7 |
mysql-connector-python==8.0.*
|
8 |
groq==0.3.*
|
9 |
-
pydantic==1.9.*
|
|
|
6 |
numpy<2.0.0
|
7 |
mysql-connector-python==8.0.*
|
8 |
groq==0.3.*
|
9 |
+
pydantic==1.9.*
|