Skip to content

Commit

Permalink
fix: 修复使用缓存构建
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai authored and LeeEirc committed Sep 29, 2022
1 parent fa7744c commit bf3a145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN set -ex \
&& yarn config set cache-folder /root/.cache/yarn/luna

ADD . /data
RUN RUN --mount=type=cache,target=/root/.cache/yarn \
RUN --mount=type=cache,target=/root/.cache/yarn \
sed -i "s@[0-9].[0-9].[0-9]@${VERSION}@g" src/environments/environment.prod.ts \
&& yarn install \
&& yarn build \
Expand Down

0 comments on commit bf3a145

Please sign in to comment.