Skip to content

Commit ab39a18

Browse files
committed
loading to env
1 parent a3e3082 commit ab39a18

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ Makefile
88
*.keys.json
99
.git-crypt
1010
.git
11+
Dockerfile

.stage.env

4 Bytes
Binary file not shown.

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# syntax=docker/dockerfile:1.2
2-
31
FROM node:14-alpine AS building
42
WORKDIR /app
53
# ENV USERNAME timetracker
@@ -13,7 +11,7 @@ COPY . /app
1311
RUN npm cache clean --force && npm install
1412
EXPOSE 4200
1513
EXPOSE 9876
16-
RUN --mount=type=secret,id=mysecret,dst=/foobar source /foobar && npm run build
14+
RUN source .stage.env && npm run build
1715
# >> scrt &&
1816
#
1917

0 commit comments

Comments
 (0)