Slightly smarter docker front setup
This commit is contained in:
parent
7c9412f63a
commit
168b2f03d4
3 changed files with 3 additions and 1 deletions
1
front/.dockerignore
Normal file
1
front/.dockerignore
Normal file
|
|
@ -0,0 +1 @@
|
|||
node_modules
|
||||
|
|
@ -4,7 +4,7 @@ EXPOSE 8080
|
|||
WORKDIR /app/
|
||||
ADD package.json .
|
||||
RUN yarn install
|
||||
VOLUME ["/app/node_modules"]
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["npm", "run", "dev"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue