Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
fix docker compose build (#3028)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniSomoza authored Nov 22, 2021
1 parent 8445152 commit 518970e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
**/node_modules
**/coverage
**/build
.DS_Store
**/.idea
**/dist
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ COPY package.json ./

COPY yarn.lock ./

COPY src/logic/contracts/artifacts ./src/logic/contracts/artifacts

RUN yarn install

COPY . .
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ services:
build: ./
volumes:
- /app/node_modules
- /app/src/types/contracts
- ./:/app
ports:
- 3000:3000

0 comments on commit 518970e

Please sign in to comment.