chore: tweak docker test env

This commit is contained in:
Remy Sharp
2018-11-27 08:32:30 +00:00
parent 6d3f79fa9a
commit 1f01d2086e
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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