Skip to content

Commit

Permalink
use install
Browse files Browse the repository at this point in the history
  • Loading branch information
da-Kai committed Mar 2, 2024
1 parent 248d992 commit 38a41c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion tools/docker/backend/ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARG UI_VERSION

WORKDIR /src/ui

RUN npm ci
RUN npm install
RUN node_modules/.bin/ng build -c "${UI_VERSION}"

### Build ui base
Expand All @@ -30,4 +30,8 @@ COPY tools/docker/backend/ui/root/ /
VOLUME /etc/nginx
VOLUME /var/log/nginx

ENV BACKEND_HOST 127.0.0.1
ENV BACKEND_WEBSOCKET_PORT 8075
ENV BACKEND_REST_API_PORT 8084

EXPOSE 80 443
2 changes: 1 addition & 1 deletion tools/docker/edge/ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARG UI_VERSION

WORKDIR /src/ui

RUN npm ci
RUN npm install
RUN node_modules/.bin/ng build -c "${UI_VERSION}"

### Build ui base
Expand Down

0 comments on commit 38a41c4

Please sign in to comment.