Copy a file to the specified directory

Report a typo

Arrange lines to make a Dockerfile that copies the demo.txt file to /tmp directory. Assume that ENTRYPOINT is the last instruction.

Put the items in the correct order
COPY demo.txt .
WORKDIR /tmp
ENTRYPOINT ["ls", "/tmp"]
FROM ubuntu:22.04
___

Create a free account to access the full topic