mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 02:57:34 +00:00
feat: add production scripts and better Dockerfile
Closes: #710 Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
+3
-1
@@ -32,6 +32,8 @@ WORKDIR /app
|
||||
|
||||
COPY --from=builder /build/node_modules/ node_modules/
|
||||
COPY --from=builder /build/build/ build/
|
||||
COPY package.json package.json
|
||||
COPY version.txt version.txt
|
||||
|
||||
CMD [ "node", "./build/index.js" ]
|
||||
ENTRYPOINT ["npm", "run"]
|
||||
CMD ["start:production"]
|
||||
|
||||
Reference in New Issue
Block a user