Skip to content

Commit f0a9c4d

Browse files
committed
fix: don't --mount=type=cache,target=/tmp on suggested cli builds
1 parent 261b45e commit f0a9c4d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adminforth/commands/createApp/templates/Dockerfile.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ WORKDIR /code/
33
ADD package.json package-lock.json /code/
44
RUN npm ci
55
ADD . /code/
6-
RUN --mount=type=cache,target=/tmp npx adminforth bundle
6+
RUN npx adminforth bundle
77
CMD ["sh", "-c", "npm run migrate:prod && npm run prod"]

live-demo/app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ WORKDIR /code/
33
ADD package.json package-lock.json /code/
44
RUN npm ci
55
ADD . /code/
6-
RUN --mount=type=cache,target=/tmp npm run bundleNow
6+
RUN npm run bundleNow
77

88

99
CMD ["npm", "run", "startLive"]

0 commit comments

Comments
 (0)