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