We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ef5529 commit 08e4522Copy full SHA for 08e4522
examples/internal/playground/images/web/Dockerfile
@@ -1,5 +1,4 @@
1
FROM node:18-bullseye-slim
2
-ARG SST_RESOURCE_MyBucket
3
4
WORKDIR /app/
5
@@ -8,7 +7,8 @@ RUN npm install
8
7
9
# Ensure linked resources are available at build time
10
COPY build.mjs /app
11
-RUN node build.mjs
+RUN --mount=type=secret,id=SST_RESOURCE_MyBucket,env=SST_RESOURCE_MyBucket \
+ node build.mjs
12
13
COPY index.mjs /app
14
0 commit comments