Advertisement
PandaAcademy

Docker1 dockerfile - CMD vs ENTRYPOINT

Feb 2nd, 2024
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. FROM nginx:latest
  2. RUN date >> /log.log
  3. RUN echo "komenda w dockerfile" >> /log.log
  4. ENTRYPOINT [ "echo","komenda w ENTRYPOINT"]
  5. CMD [ "echo", "komenda w CMD" ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement