Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- Dockerfile +10 -0
Dockerfile
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM capsulecode/singlefile
|
| 2 |
+
|
| 3 |
+
USER root
|
| 4 |
+
WORKDIR /app
|
| 5 |
+
COPY . /app
|
| 6 |
+
|
| 7 |
+
RUN apk add --no-cache py3-pip && pip install flask --break-system-packages
|
| 8 |
+
|
| 9 |
+
EXPOSE 7860
|
| 10 |
+
ENTRYPOINT ["python3", "/app/app.py"]
|