Arrange lines to make a Dockerfile that copies the demo.txt file to /tmp directory. Assume that ENTRYPOINT is the last instruction.
Dockerfile (USER, WORKDIR, EXPOSE)
Copy a file to the specified directory
Report a typo
Put the items in the correct order
COPY demo.txt .
WORKDIR /tmp
ENTRYPOINT ["ls", "/tmp"]
FROM ubuntu:22.04
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.