Browse Source

docker: fix pioneer build - .dockerignore inadvertantly ignoring pioneer code

Mokhtar Naamani 4 years ago
parent
commit
4495ae9230
2 changed files with 2 additions and 4 deletions
  1. 1 1
      .dockerignore
  2. 1 3
      apps.Dockerfile

+ 1 - 1
.dockerignore

@@ -1,4 +1,4 @@
-**target*
+target/
 **node_modules*
 .tmp/
 .vscode/

+ 1 - 3
apps.Dockerfile

@@ -7,9 +7,7 @@ COPY . /joystream
 # to ensure dev dependencies are installed.
 RUN yarn install --frozen-lockfile
 
-# Pioneer is failing to build only on github actions workflow runner
-# Error: packages/page-staking/src/index.tsx(24,21): error TS2307: Cannot find module './Targets' or its corresponding type declarations.
-# RUN yarn workspace pioneer build
+RUN yarn workspace pioneer build
 RUN yarn workspace storage-node build
 RUN yarn workspace query-node-root build