diff --git a/Dockerfile b/Dockerfile index a8c4e51c8eba09f37b55e93a4b0a18164da5131d..e1bcbfff0ba8f8dbf81b4bbc09a51115b5c49201 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN apt-get update && \ apt-get install -y sudo curl wget zip unzip make build-essential clang rustup libpq-dev libsqlite3-dev && \ rm -rf /var/lib/apt/lists/* -ENV NVM_DIR=/home/${USERNAME}/.nvm +ENV NVM_DIR=/root/.nvm RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash @@ -29,4 +29,4 @@ RUN cargo install cross --git https://github.com/cross-rs/cross COPY --from=docker_host /usr/local/bin/docker /usr/local/bin/docker ENV CROSS_CONTAINER_IN_CONTAINER=true -ENV PATH="${PATH}:/home/${USERNAME}/.cargo/bin:${NVM_DIR}/versions/node/v${NODE_VERSION}/bin/" \ No newline at end of file +ENV PATH="${PATH}:/root/.cargo/bin:${NVM_DIR}/versions/node/v${NODE_VERSION}/bin/" \ No newline at end of file