add newlines to end Dockerfiles
This commit is contained in:
@ -30,7 +30,3 @@ COPY --chown=node:node ./src/ .
|
|||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD [ "node", "index.js" ]
|
CMD [ "node", "index.js" ]
|
||||||
|
|
||||||
# TODO: Use multi-stage with distroless image or chainguard image?
|
|
||||||
# https://github.com/GoogleContainerTools/distroless/blob/main/examples/nodejs/Dockerfile
|
|
||||||
# https://edu.chainguard.dev/chainguard/chainguard-images/reference/node/overview/
|
|
||||||
@ -33,7 +33,3 @@ COPY --chown=node:node ./src/ .
|
|||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD [ "node", "index.js" ]
|
CMD [ "node", "index.js" ]
|
||||||
|
|
||||||
# TODO: Use multi-stage with distroless image or chainguard image?
|
|
||||||
# https://github.com/GoogleContainerTools/distroless/blob/main/examples/nodejs/Dockerfile
|
|
||||||
# https://edu.chainguard.dev/chainguard/chainguard-images/reference/node/overview/
|
|
||||||
@ -24,5 +24,3 @@ COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|||||||
COPY --from=build usr/src/app/dist/ /usr/share/nginx/html
|
COPY --from=build usr/src/app/dist/ /usr/share/nginx/html
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
# No CMD specified... will uses CMD/ENTRYPOINT from base image (nginx:1.23-alpine)
|
|
||||||
@ -27,5 +27,3 @@ COPY --link nginx.conf /etc/nginx/conf.d/default.conf
|
|||||||
COPY --link --from=build usr/src/app/dist/ /usr/share/nginx/html
|
COPY --link --from=build usr/src/app/dist/ /usr/share/nginx/html
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
# No CMD specified... will uses CMD/ENTRYPOINT from base image (nginx:1.23-alpine)
|
|
||||||
Reference in New Issue
Block a user