diff --git a/Dockerfile b/Dockerfile index a7949658..8d78aefe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,10 +22,10 @@ ENV NODE_ENV production RUN npm run build:server RUN npm run build:client -FROM base as production +FROM build as production ENV NODE_ENV=production COPY package.json package-lock.json index.js ./ RUN npm install --production RUN npm rebuild node-sass -COPY --from=build $APP_HOME/dist ./dist +# COPY --from=build $APP_HOME/dist ./dist CMD ["npm", "run", "start:prod"]