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 59dbb51 commit 6506028Copy full SHA for 6506028
.stage.env
4 Bytes
Dockerfile
@@ -1,6 +1,6 @@
1
# syntax=docker/dockerfile:1.2
2
3
-FROM node:14 AS building
+FROM node:14-alpine AS building
4
WORKDIR /app
5
# ENV USERNAME timetracker
6
# ENV HOME /home/${USERNAME}
@@ -13,7 +13,7 @@ COPY . /app
13
RUN npm cache clean --force && npm install
14
EXPOSE 4200
15
EXPOSE 9876
16
-RUN --mount=type=secret,id=mysecret,dst=/foobar eval '$(echo $(cat /foobar))' && npm run build
+RUN --mount=type=secret,id=mysecret,dst=/foobar source /foobar && npm run build
17
# >> scrt &&
18
#
19
0 commit comments