triflix commited on
Commit
529ca09
·
verified ·
1 Parent(s): 972b4ed

Create SDockerfile

Browse files
Files changed (1) hide show
  1. SDockerfile +11 -0
SDockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:18-alpine
2
+ WORKDIR /app
3
+
4
+ COPY package*.json ./
5
+ RUN npm install
6
+
7
+ COPY . .
8
+ RUN npm run build
9
+
10
+ EXPOSE 7860
11
+ CMD ["npm", "run", "preview", "--", "--port", "7860", "--host", "0.0.0.0"]