diff --git a/src/Api/Dockerfile b/src/Api/Dockerfile index 13d807c..4717570 100644 --- a/src/Api/Dockerfile +++ b/src/Api/Dockerfile @@ -7,8 +7,9 @@ WORKDIR /app COPY ["package.json", "package-lock.json*", "./"] -RUN npm install --production - +RUN npm install +RUN npm run build +RUN npm publish COPY . . CMD [ "node", "server.js" ]