mirror of
https://github.com/Dokploy/examples.git
synced 2026-06-15 20:25:24 +02:00
Create Dockerfile2
This commit is contained in:
9
deno/Dockerfile2
Normal file
9
deno/Dockerfile2
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
FROM alpine:latest
|
||||||
|
|
||||||
|
ARG CACHE_BUST
|
||||||
|
|
||||||
|
RUN --mount=type=secret,id=MESSAGE \
|
||||||
|
echo "Secret contents (mounted): $(cat /run/secrets/MESSAGE)" \
|
||||||
|
&& sleep 10
|
||||||
|
|
||||||
|
RUN echo -n "Secret file "; if [ -e /run/secrets/MESSAGE ]; then echo "mounted ❌"; else echo "unmounted ✅"; fi; sleep 10
|
||||||
Reference in New Issue
Block a user