We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b5f089 commit 59dbb51Copy full SHA for 59dbb51
Dockerfile
@@ -1,3 +1,5 @@
1
+# syntax=docker/dockerfile:1.2
2
+
3
FROM node:14 AS building
4
WORKDIR /app
5
# ENV USERNAME timetracker
@@ -11,7 +13,7 @@ COPY . /app
11
13
RUN npm cache clean --force && npm install
12
14
EXPOSE 4200
15
EXPOSE 9876
-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
17
# >> scrt &&
18
#
19
0 commit comments