Reaperxxxx commited on
Commit
d7ea9bf
·
verified ·
1 Parent(s): cc8da17

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:18-alpine
2
+
3
+ WORKDIR /app
4
+
5
+ COPY package*.json ./
6
+
7
+ RUN npm install --production
8
+
9
+ COPY . .
10
+
11
+ EXPOSE 3000
12
+
13
+ ENV PORT=3000
14
+ ENV NODE_ENV=production
15
+
16
+ CMD ["node", "index.js"]