Skip to content

Commit

Permalink
build: fix commands in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
DCsunset committed Apr 4, 2024
1 parent e227636 commit 8a66ab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ ENV TASKDATA="/.task"
ENV NODE_OPTIONS="--openssl-legacy-provider"

# Frontend
RUN cd /src/frontend && npm install \
RUN cd /src/frontend && npm ci \
&& npm run build && npm run export \
&& cp -r /src/frontend/dist /static \
&& rm -r /src/frontend

# Backend
RUN cd /src/backend && npm install \
RUN cd /src/backend && npm ci \
&& npm run build \
&& npm prune --production \
&& rm -r /src/backend/src
Expand Down

0 comments on commit 8a66ab1

Please sign in to comment.