Update Dockerfile
This commit is contained in:
parent
7e919026e7
commit
256c8ab4e0
@ -7,7 +7,8 @@ WORKDIR /usr/src/app
|
|||||||
# Install app dependencies
|
# Install app dependencies
|
||||||
# A wildcard is used to ensure both package.json AND package-lock.json are copied
|
# A wildcard is used to ensure both package.json AND package-lock.json are copied
|
||||||
# where available (npm@5+)
|
# where available (npm@5+)
|
||||||
COPY backend/package*.json ./
|
# COPY backend/package*.json ./
|
||||||
|
COPY backend ./
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
@ -15,4 +16,4 @@ RUN npm install
|
|||||||
COPY backend .
|
COPY backend .
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD [ "node", "server.js" ]
|
CMD [ "node", "index.js" ]
|
||||||
Loading…
Reference in New Issue
Block a user