diff --git a/Dockerfile b/Dockerfile index d709318..6eaba7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y curl locales && rm -rf /var/lib/apt/lis ENV LANG en_US.utf8 # Install Node.js -RUN curl --silent --location https://deb.nodesource.com/setup_8.x | bash - +RUN curl --silent --location https://deb.nodesource.com/setup_10.x | bash - RUN apt-get install --yes nodejs build-essential # Install app dependencies @@ -21,7 +21,7 @@ RUN npm install -g npx # Bundle app source # Trouble with COPY http://stackoverflow.com/a/30405787/2926832 -COPY . /src +# COPY . /src WORKDIR /src diff --git a/test/docker.sh b/test/docker.sh index 7c34762..0def979 100644 --- a/test/docker.sh +++ b/test/docker.sh @@ -1,4 +1,4 @@ docker build -t nodemon-test-env . -docker run --mount type=bind,source=/Users/remy/Sites/nodemon,target=/src/node_modules/nodemon --name nodemon-test-env --rm -it nodemon-test-env bash +docker run --mount type=bind,source=/Users/remy/Sites/nodemon,target=/src/nodemon --name nodemon-test-env --rm -it nodemon-test-env bash # node /nodemon-src/bin/nodemon.js -V http.js