Skip to content

Commit eed87bc

Browse files
committed
chore: improve website building, use the correct yarn version and run install with --immutable
1 parent aedb9fc commit eed87bc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ RUN apt-get update \
2222
# bump to update website
2323
COPY . /workdir
2424

25-
RUN /usr/bin/yarn --cwd website \
26-
&& /usr/bin/yarn --cwd website compile \
27-
&& /usr/bin/yarn --cwd website build
25+
RUN cd website \
26+
&& yarn install --immutable \
27+
&& yarn compile \
28+
&& yarn build
2829

2930
# Main image derived from openvsx-server
3031
FROM ghcr.io/eclipse/openvsx-server-snapshot:${SERVER_VERSION}

0 commit comments

Comments
 (0)