Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.11
|
2 |
+
COPY . .
|
3 |
+
RUN chmod +777 ./
|
4 |
+
RUN pip install flask requests
|
5 |
+
RUN echo python3 api.py > start.sh
|
6 |
+
RUN chmod +x start.sh
|
7 |
+
CMD "./start.sh"
|