Skip to content

Commit 59dbb51

Browse files
committed
problem with double qoutes
1 parent 0b5f089 commit 59dbb51

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# syntax=docker/dockerfile:1.2
2+
13
FROM node:14 AS building
24
WORKDIR /app
35
# ENV USERNAME timetracker
@@ -11,7 +13,7 @@ COPY . /app
1113
RUN npm cache clean --force && npm install
1214
EXPOSE 4200
1315
EXPOSE 9876
14-
RUN --mount=type=secret,id=mysecret,dst=/foobar eval "$(echo $(cat /foobar))" && npm run build
16+
RUN --mount=type=secret,id=mysecret,dst=/foobar eval '$(echo $(cat /foobar))' && npm run build
1517
# >> scrt &&
1618
#
1719

0 commit comments

Comments
 (0)