Another docker try
This commit is contained in:
1 parent
0eeefd7412
commit
33bf556987
1 file changed
+5
-5
+5
-5
@@ -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"]
|
||||
Reference in new issue
Block a user