add docker ignore rather than make clean

This commit is contained in:
Henry Oswald
2018-03-07 11:41:38 +00:00
parent dc3cb439d0
commit 0c1b699bd5
2 changed files with 3 additions and 2 deletions

3
.dockerignore Normal file
View File

@@ -0,0 +1,3 @@
node_modules/*
app.js
**/js/*

View File

@@ -4,8 +4,6 @@ COPY ./ /app
WORKDIR /app
RUN rm -rf node_modules/* && make clean
RUN npm install