diff --git a/Dockerfile b/Dockerfile index 8305b8e..cdeeb40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 #################################################################################################### diff --git a/compose.yml b/compose.yml index c5f7af0..d506f8e 100644 --- a/compose.yml +++ b/compose.yml @@ -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