Skip to content

Commit

Permalink
add test dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
linancn committed Oct 22, 2023
1 parent b665633 commit e7a98ea
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Use alpine as the base image
FROM alpine:latest

# Set the working directory
WORKDIR /app

# Create a test.txt file in the /app directory of the container
RUN echo "Hello, Docker!" > test.txt

# Specify the command to run when the container starts
CMD ["cat", "test.txt"]

0 comments on commit e7a98ea

Please sign in to comment.