Skip to content

Commit

Permalink
Test build demo gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
rigon committed Dec 10, 2024
1 parent 95198bf commit 39cb95f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile.demo
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@ FROM python:alpine AS pixabay
RUN --mount=type=secret,id=pixabay \
python <<EOF
print("HEYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY")


with open('/test.txt', 'w') as file:
file.write("Hello, World!\n")

EOF

# with open('/run/secrets/token', 'r') as file:
# token = file.read()

# print(token)

# with open('/test.txt', 'w') as file:
# file.write("Hello, World!\n")
# file.write(token)

# EOF

# RUN pip install pixabay

# RUN --mount=type=secret,id=pixabay \
Expand Down

0 comments on commit 39cb95f

Please sign in to comment.