Skip to content

Commit

Permalink
Use yarn for stage builds
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn committed Dec 11, 2023
1 parent 865fb2a commit bfaa96c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8,759 deletions.
4 changes: 2 additions & 2 deletions frontend/deploy.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\
apt-get install -y nodejs

# Build site
RUN cd /build/frontend && npm install
RUN cd /build/frontend && npm run build -- --mode staging
RUN cd /build/frontend && yarn install
RUN cd /build/frontend && yarn build -- --mode stage

# Use our custom nginx config
RUN rm /etc/nginx/conf.d/default.conf
Expand Down
Loading

0 comments on commit bfaa96c

Please sign in to comment.