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
No known key found for this signature in database
GPG Key ID: 687E513E74D28696

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"]