Create Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM node:19
|
2 |
+
WORKDIR /usr/src/app
|
3 |
+
COPY package*.json ./
|
4 |
+
RUN npm install --only=production
|
5 |
+
COPY . .
|
6 |
+
CMD [ "node", "index.js" ]
|