Another docker try

This commit is contained in:
unknowableshade committed 2021-11-01 21:09:31 +03:00
1 parent 0eeefd7412
commit 33bf556987
1 file changed
+5 -5
+5 -5
View File
@@ -1,8 +1,8 @@
FROM node: 16-alpine
RUN mkdir - p / usr / src / app
WORKDIR / usr / src / app
COPY. .
FROM node:16-alpine
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . .
RUN npm install
RUN npm build
EXPOSE 3000
CMD["npm", "start"]
CMD ["npm","start"]