rippanteq7 commited on
Commit
10818bc
·
verified ·
1 Parent(s): 95e38ef

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM nikolaik/python-nodejs:latest
2
+
3
+ USER root
4
+ RUN apt-get update && \
5
+ apt-get install -y \
6
+ chromium && \
7
+ apt-get clean
8
+ WORKDIR /home/pn/app/
9
+ COPY . .
10
+ RUN chmod -R 777 ./
11
+
12
+ USER pn
13
+ WORKDIR /home/pn/app/
14
+ RUN npm i
15
+ EXPOSE 7860
16
+ CMD ["npx", "coffee", "."]