Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +8 -10
Dockerfile
CHANGED
@@ -1,10 +1,8 @@
|
|
1 |
-
FROM python:3.11
|
2 |
-
RUN apt update
|
3 |
-
RUN apt install git
|
4 |
-
RUN git clone https://github.com/BlackNum/reka.git /app
|
5 |
-
WORKDIR /app
|
6 |
-
RUN pip install -r requirements.txt
|
7 |
-
EXPOSE 7860
|
8 |
-
|
9 |
-
# gunicorn -k gevent -w 1 --bind 0.0.0.0:8080 app:app
|
10 |
-
CMD ["gunicorn", "-k", "gevent", "-w", "1", "--bind", "0.0.0.0:7860", "app:app"]
|
|
|
1 |
+
FROM python:3.11
|
2 |
+
RUN apt update
|
3 |
+
RUN apt install git
|
4 |
+
RUN git clone https://github.com/BlackNum/reka.git /app
|
5 |
+
WORKDIR /app
|
6 |
+
RUN pip install -r requirements.txt
|
7 |
+
EXPOSE 7860
|
8 |
+
CMD ["python", "main.py"]
|
|
|
|