mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 07:04:57 +01:00
Update Dockerfile
This commit is contained in:
+2
-1
@@ -4,7 +4,7 @@ FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
|
||||
# replace shell with bash so we can source files
|
||||
RUN curl --silent -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.2/install.sh | sh
|
||||
|
||||
ENV NODE_VERSION 10.13.0
|
||||
ENV NODE_VERSION 14.18.1
|
||||
ENV NVM_DIR /root/.nvm
|
||||
|
||||
RUN . $NVM_DIR/nvm.sh \
|
||||
@@ -14,6 +14,7 @@ RUN . $NVM_DIR/nvm.sh \
|
||||
&& apt-get install -y \
|
||||
dos2unix \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN npm install -g npm
|
||||
|
||||
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules
|
||||
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
|
||||
|
||||
Reference in New Issue
Block a user