Optimized backend Dockerfile
Some checks reported errors
continuous-integration/drone Build was killed
Some checks reported errors
continuous-integration/drone Build was killed
This commit is contained in:
parent
a014b0b531
commit
fb7d8fdd37
@ -17,6 +17,4 @@ ENTRYPOINT npm run dev
|
|||||||
|
|
||||||
# production
|
# production
|
||||||
FROM node AS prod
|
FROM node AS prod
|
||||||
WORKDIR /app
|
|
||||||
COPY --from=dev /app ./
|
|
||||||
ENTRYPOINT npm run start
|
ENTRYPOINT npm run start
|
Loading…
Reference in New Issue
Block a user