Create and move a file

Report a typo

You must perform the following 3 steps:

  1. Create a demo.txt file.

  2. Create a demo directory.

  3. Move the demo.txt file to the demo directory.

Sort the commands in order so that ENTRYPOINT is the last instruction.

Put the items in the correct order
RUN touch demo.txt
FROM ubuntu:22.04
RUN mv demo.txt /tmp/demo
ENTRYPOINT ["ls", "/tmp/demo"]
RUN mkdir /tmp/demo
___

Create a free account to access the full topic