refixed dockerfile
This commit is contained in:
@@ -10,7 +10,7 @@ RUN cd server && npm install && npm run build
|
|||||||
|
|
||||||
FROM node:latest AS serve
|
FROM node:latest AS serve
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY package*.json ./
|
COPY server/package*.json ./
|
||||||
RUN npm install --only=production
|
RUN npm install --only=production
|
||||||
COPY --from=server-build /usr/src/app/server/dist ./distServer
|
COPY --from=server-build /usr/src/app/server/dist ./distServer
|
||||||
COPY --from=client-build /usr/src/app/client/dist ./distClient
|
COPY --from=client-build /usr/src/app/client/dist ./distClient
|
||||||
|
|||||||
Reference in New Issue
Block a user