Untitled

Anonymous
plain_text
08/03/2023 9:59 AM
396 B
17
Indexable
# Use a basic Alpine Linux image
FROM alpine

# Create two files in the /data directory within the container
RUN echo "Hello world" > /data/file1.txt
RUN echo "Hello from Docker" > /data/file2.txt

# Set the default command to keep the container running
CMD ["tail", "-f", "/dev/null"]
Editor is loading...