Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
295 B
1
Indexable
Never
# 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"]