Aktualisiere Dockerfile zur Installation von Node.js und verbessere den Build-Kontext in compose.yml
This commit is contained in:
parent
17c4b0dc66
commit
32191a1769
2 changed files with 8 additions and 2 deletions
|
|
@ -25,9 +25,15 @@ RUN apt-get update -y && apt-get install -y build-essential \
|
|||
git \
|
||||
locales \
|
||||
curl \
|
||||
inotify-tools \
|
||||
inotify-tools
|
||||
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
|
||||
|
||||
RUN apt-get update -y && apt-get install -y nodejs \
|
||||
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
|
||||
|
||||
RUN npm install -g npm@latest
|
||||
|
||||
# prepare build dir
|
||||
WORKDIR /app
|
||||
####################################################################################################
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ services:
|
|||
tty: true
|
||||
stdin_open: true
|
||||
build:
|
||||
context: .
|
||||
context: https://github.com/arndttouby/elixir-phoenix-devcontainer.git
|
||||
dockerfile: Dockerfile
|
||||
target: development
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue