Spaces:
Runtime error
Runtime error
ninomae1001
commited on
Commit
•
68284b8
1
Parent(s):
0d04cfb
Create Dockerfile
Browse files- Dockerfile +8 -0
Dockerfile
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.11
|
2 |
+
RUN apt update
|
3 |
+
RUN apt install git
|
4 |
+
RUN git clone https://github.com/NINOMAE1995/Elephant-to-OpenAI-API.git /app
|
5 |
+
WORKDIR "app"
|
6 |
+
RUN pip install -r requirements.txt
|
7 |
+
EXPOSE 8000
|
8 |
+
CMD ["python", "main.py", "--host", "0.0.0.0:8000"]
|