Skip to content

Commit 1cb12bf

Browse files
Add files via upload
1 parent f49d232 commit 1cb12bf

File tree

2 files changed

+1083
-0
lines changed

2 files changed

+1083
-0
lines changed

Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Use a base image
2+
FROM python:3.10-slim
3+
4+
# Create a directory to store the ASCII art securely
5+
RUN mkdir /ascii_art
6+
7+
# Add the ASCII art file to the container
8+
COPY ascii_art.txt /ascii_art/
9+
10+
# Set the directory as read-only
11+
RUN chmod 444 /ascii_art/ascii_art.txt
12+
13+
# Set working directory
14+
WORKDIR /ascii_art
15+
16+
# Default command to run
17+
CMD ["cat", "ascii_art.txt"]

0 commit comments

Comments
 (0)