axebps commited on
Commit
6940ab2
·
verified ·
1 Parent(s): 2f2b872

Create Dockerfile

Browse files
Files changed (1) hide show
  1. 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"]