Spaces:
Sleeping
Sleeping
BeveledCube
commited on
Create Dockerfile
Browse files- Dockerfile +12 -0
Dockerfile
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.11
|
2 |
+
|
3 |
+
WORKDIR /api
|
4 |
+
|
5 |
+
COPY ./ /api/
|
6 |
+
|
7 |
+
RUN pip install --upgrade pip
|
8 |
+
RUN pip install -r requirements.txt
|
9 |
+
|
10 |
+
EXPOSE 7860
|
11 |
+
|
12 |
+
CMD python -u main.py
|