Dockerfile: run app instead of recompiling

This commit is contained in:
Paul Munteanu 2021-05-29 22:41:50 +03:00
parent cec472089c
commit c65d28e181
No known key found for this signature in database
GPG Key ID: 4C0797E4861E8917

View File

@ -10,4 +10,4 @@ RUN apk del build-dependencies
COPY . . COPY . .
RUN npm run build RUN npm run build
EXPOSE 3002 EXPOSE 3002
CMD ["npm", "start"] CMD ["node", "dist/"]