add newlines to end Dockerfiles

This commit is contained in:
sid palas
2023-02-10 10:37:13 -05:00
parent f8dda04c6f
commit 9001f31036
20 changed files with 18 additions and 30 deletions

View File

@ -4,4 +4,4 @@ COPY . .
RUN npm install
CMD [ "node", "index.js" ]
CMD [ "node", "index.js" ]

View File

@ -6,4 +6,4 @@ COPY . .
RUN npm install
CMD [ "node", "index.js" ]
CMD [ "node", "index.js" ]

View File

@ -9,4 +9,4 @@ COPY . .
RUN npm install
CMD [ "node", "index.js" ]
CMD [ "node", "index.js" ]

View File

@ -15,4 +15,4 @@ RUN npm install
# Again, copy only the necessary files
COPY ./src/ .
CMD [ "node", "index.js" ]
CMD [ "node", "index.js" ]

View File

@ -19,4 +19,4 @@ USER node
# Again, copy only the necessary files
COPY --chown=node:node ./src/ .
CMD [ "node", "index.js" ]
CMD [ "node", "index.js" ]

View File

@ -23,4 +23,4 @@ USER node
# Again, copy only the necessary files
COPY --chown=node:node ./src/ .
CMD [ "node", "index.js" ]
CMD [ "node", "index.js" ]

View File

@ -26,4 +26,4 @@ COPY --chown=node:node ./src/ .
# Indicate expected port
EXPOSE 3000
CMD [ "node", "index.js" ]
CMD [ "node", "index.js" ]

View File

@ -30,7 +30,3 @@ COPY --chown=node:node ./src/ .
EXPOSE 3000
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/

View File

@ -33,7 +33,3 @@ COPY --chown=node:node ./src/ .
EXPOSE 3000
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/