Skip to content

Commit

Permalink
update dockerfile, build ui only once
Browse files Browse the repository at this point in the history
  • Loading branch information
ddvk committed Feb 2, 2022
1 parent c767815 commit fec4a3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG VERSION=0.0.0
FROM node:lts-alpine as uibuilder
FROM --platform=$BUILDPLATFORM node:lts-alpine as uibuilder
WORKDIR /src
COPY ui .
RUN yarn && yarn build
Expand Down
1 change: 1 addition & 0 deletions dockerbuild.sh
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export DOCKER_BUILDKIT=1
docker build -t rmfakecloud --no-cache --build-arg VERSION="$(git describe --tags)" .

0 comments on commit fec4a3d

Please sign in to comment.