Skip to content

Commit

Permalink
ED-4000 feat: Github actions instead of Jenkins-test
Browse files Browse the repository at this point in the history
  • Loading branch information
princegupta1131 committed Jun 11, 2024
1 parent 029f9eb commit ee29fcb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@ ENV buildCdnAssets=${buildCdnAssets}

# Set the working directory for the client build
WORKDIR /usr/src/app/client
# Install npm
RUN apt-get update && apt-get install -y npm

# Install Yarn
RUN npm install -g yarn

# Copy the client code into the Docker container
COPY src/app/client ./
RUN rm -rf node_modules yarn.lock
RUN yarn cache clean

# Install Yarn
RUN npm install -g yarn

# Install client dependencies
RUN yarn install --no-progress --frozen-lockfile --production=true

Expand Down

0 comments on commit ee29fcb

Please sign in to comment.