diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-08-08 16:14:16 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-08-08 16:14:16 +0200 |
| commit | f26843a20e52646e9a1a1c0784fc5abe2e271330 (patch) | |
| tree | bdaf02ea66277c6792cd9656c047a430b8868303 | |
| parent | e182ac89dc1caa612c708d0f8c98627cd55563c9 (diff) | |
| download | bridge-f26843a20e52646e9a1a1c0784fc5abe2e271330.tar.gz bridge-f26843a20e52646e9a1a1c0784fc5abe2e271330.zip | |
fix Dockerrelease/2.14.0
| -rw-r--r-- | .dockerignore | 2 | ||||
| -rw-r--r-- | Dockerfile | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..93f1361 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +node_modules +npm-debug.log @@ -1,9 +1,10 @@ -FROM node:7.7-alpine +FROM node:alpine RUN mkdir -p /usr/src/app WORKDIR /usr/src/app -COPY . /usr/src/app -RUN npm install && npm cache clean +COPY package.json . +RUN npm install && npm cache clean --force +COPY . . CMD ["node", "server.js"] |
