Jonell01 commited on
Commit
45fef69
·
verified ·
1 Parent(s): 14eaba1

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:21
2
+
3
+ WORKDIR /app
4
+
5
+ COPY testProjectExocoreWeb-main.zip .
6
+
7
+ RUN apt-get update && apt-get install -y unzip && \
8
+ unzip testProjectExocoreWeb-main.zip && \
9
+ chown -R node:node testProjectExocoreWeb-main && \
10
+ chmod -R u+rwX testProjectExocoreWeb-main
11
+
12
+ USER node
13
+
14
+ WORKDIR /app/testProjectExocoreWeb-main
15
+
16
+ RUN npm install
17
+ EXPOSE 7860
18
+ CMD ["npm", "start"]