Skip to content

Commit

Permalink
Move neo-savant to yarn (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
saeed-zil authored Mar 25, 2024
1 parent 978d009 commit 3bfea09
Show file tree
Hide file tree
Showing 4 changed files with 11,560 additions and 40,412 deletions.
1 change: 1 addition & 0 deletions products/neo-savant/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
8 changes: 4 additions & 4 deletions products/neo-savant/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ FROM node:14.17 as build-stage

ARG DEPLOY_ENV="dev"

COPY . /savant-ide
WORKDIR /savant-ide
COPY ./package.json ./yarn.lock ./
RUN yarn install -E
COPY . /savant-ide
RUN mv .env_$DEPLOY_ENV .env && \
npm install && \
npm rebuild node-sass && \
npm run build
yarn build

# production stage
FROM nginx:1.23.1@sha256:186c79dc14ab93e43d315143ee4b0774506dc4fd952388c20e35d3d37058ab8d as production-stage
Expand Down
Loading

0 comments on commit 3bfea09

Please sign in to comment.