chore: run build and start built version

This commit is contained in:
Sammy Teillet
2023-04-18 14:22:52 +02:00
parent b60ed70e4a
commit a9bc05372d

View File

@ -7,5 +7,6 @@ RUN npm install
WORKDIR /app/server
COPY ./server .
RUN npm run build
CMD ["npm", "run", "start"]
CMD ["node", "dist/main"]