Add Node.js support in all the Docker containers

This commit is contained in:
SteveSandersonMS
2016-07-27 13:09:54 +01:00
parent e9ca434405
commit 0a3463031b
4 changed files with 20 additions and 0 deletions

View File

@@ -4,6 +4,11 @@ COPY . /app
WORKDIR /app
# Add Node.js to the container. If you don't want to wait for this to install every
# time you rebuild your container, consider creating an image that has it preinstalled.
RUN apt-get update
RUN apt-get install -y build-essential nodejs nodejs-legacy
RUN ["dotnet", "restore"]
RUN ["dotnet", "build"]

View File

@@ -4,6 +4,11 @@ COPY . /app
WORKDIR /app
# Add Node.js to the container. If you don't want to wait for this to install every
# time you rebuild your container, consider creating an image that has it preinstalled.
RUN apt-get update
RUN apt-get install -y build-essential nodejs nodejs-legacy
RUN ["dotnet", "restore"]
RUN ["dotnet", "build"]

View File

@@ -4,6 +4,11 @@ COPY . /app
WORKDIR /app
# Add Node.js to the container. If you don't want to wait for this to install every
# time you rebuild your container, consider creating an image that has it preinstalled.
RUN apt-get update
RUN apt-get install -y build-essential nodejs nodejs-legacy
RUN ["dotnet", "restore"]
RUN ["dotnet", "build"]

View File

@@ -4,6 +4,11 @@ COPY . /app
WORKDIR /app
# Add Node.js to the container. If you don't want to wait for this to install every
# time you rebuild your container, consider creating an image that has it preinstalled.
RUN apt-get update
RUN apt-get install -y build-essential nodejs nodejs-legacy
RUN ["dotnet", "restore"]
RUN ["dotnet", "build"]