Skip to content

Commit 713de50

Browse files
committed
chore(docker): switch Sass install to npm and fix workdir typo in Dockerfile
1 parent 3d2923c commit 713de50

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

node22/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ USER csdev
2828
RUN echo Y | yarn -v
2929
RUN corepack prepare yarn@4.8.1 --activate
3030

31-
## Install Sass
32-
RUN yarn global add sass
31+
## Install Sass (use npm since Yarn 4 doesn't support global add)
32+
RUN npm install -g sass
3333

3434
WORKDIR /var/dev
3535

node24/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ USER csdev
2828
RUN echo Y | yarn -v
2929
RUN corepack prepare yarn@4.9.0 --activate
3030

31-
## Install Sass
32-
RUN yarn global add sass
31+
## Install Sass (use npm since Yarn 4 doesn't support global add)
32+
RUN npm install -g sass
3333

34-
WORKDIR /var/devqq
34+
WORKDIR /var/dev
3535

3636
CMD ["ash", "-l"]

0 commit comments

Comments
 (0)