Untitled

 avatar
unknown
plain_text
2 years ago
295 B
4
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...