Update container to get package.json from new path for volta

This commit is contained in:
Linus Färnstrand 2024-12-18 10:11:41 +01:00
parent 7c3375a969
commit 35424186a5
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
**/*
!gui/package.json
!desktop/package.json

View File

@ -103,7 +103,7 @@ RUN apt-get update -y && \
ENV PATH=/root/.volta/bin:$PATH
# volta seemingly does not have a way to explicitly install the toolchain
# versions from package.json, but `node --version` triggers an install
COPY desktop/packages/mullvad-vpn/package.json .
COPY desktop/package.json .
RUN curl https://get.volta.sh | bash && node --version && rm package.json
# === Golang ===