add docker ignore rather than make clean
This commit is contained in:
3
.dockerignore
Normal file
3
.dockerignore
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
node_modules/*
|
||||||
|
app.js
|
||||||
|
**/js/*
|
||||||
@@ -4,8 +4,6 @@ COPY ./ /app
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN rm -rf node_modules/* && make clean
|
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user