Skip to content

Commit

Permalink
fix: docker file patches
Browse files Browse the repository at this point in the history
Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>
  • Loading branch information
sairanjit committed May 27, 2024
1 parent bcd4db0 commit 3a5cd2d
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ FROM ubuntu:20.04 as base
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update -y && apt-get install -y \
apt-transport-https \
curl \
make \
gcc \
g++
apt-transport-https \
curl \
make \
gcc \
g++

# nodejs
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash
Expand All @@ -28,6 +28,9 @@ WORKDIR /www
COPY package.json /www/package.json
COPY yarn.lock /www/yarn.lock

# Copy patches folder
COPY patches /www/patches

# Run yarn install
RUN yarn install

Expand All @@ -47,6 +50,9 @@ COPY --from=setup /tmp/yarn-cache /tmp/yarn-cache
COPY package.json /www/package.json
COPY yarn.lock /www/yarn.lock

# Copy patches folder
COPY patches /www/patches

WORKDIR /www

# Run yarn install
Expand Down

0 comments on commit 3a5cd2d

Please sign in to comment.