-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adde docker, fixed gulp and modify env variables setup
- Loading branch information
Javier Tarazaga
committed
Sep 6, 2019
1 parent
aa1d063
commit c5d96b8
Showing
12 changed files
with
40 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM node:10 | ||
ARG BUILD | ||
|
||
# Create app directory | ||
WORKDIR /app | ||
|
||
# Install app dependencies | ||
# A wildcard is used to ensure both package.json AND package-lock.json are copied | ||
# where available (npm@5+) | ||
COPY package*.json ./ | ||
COPY lerna*.json ./ | ||
COPY packages/editor/package*.json ./packages/editor/ | ||
COPY packages/web-server/package*.json ./packages/web-server/ | ||
|
||
# RUN npm i | ||
# If you are building your code for production | ||
RUN npx lerna bootstrap --hoist | ||
|
||
# Bundle app source | ||
COPY . . | ||
|
||
RUN npm run $BUILD | ||
|
||
EXPOSE 80 | ||
CMD [ "npm", "run", "start:prod" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
ORIGIN=localhost:4000 | ||
REACT_APP_INFURA_API_KEY=58b57895912346bf8aefba3cab0db459 | ||
REACT_APP_AMPLITUDE_API_KEY=19a451bb21fb9979e45493b6b562024a | ||
REACT_APP_API_BASE_URL=http://localhost:4002 | ||
REACT_APP_GITHUB_CLIENT_ID=Iv1.ebee2363725473ce | ||
REACT_APP_GITHUB_REDIRECT_URI=http://localhost:4000/github/callback | ||
REACT_APP_AUTH_REFRESH_OFFSET=15 | ||
ORIGIN=superblocks.com | ||
REACT_APP_INFURA_API_KEY=148bee2b5da148a7b77a83f7504d00e7 | ||
REACT_APP_AMPLITUDE_API_KEY=4af7a1553f9e3f4d666764f163639186 | ||
REACT_APP_API_BASE_URL=https://ethereum-api.superblocks.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
ORIGIN=localhost:4000 | ||
REACT_APP_INFURA_API_KEY=58b57895912346bf8aefba3cab0db459 | ||
REACT_APP_AMPLITUDE_API_KEY=19a451bb21fb9979e45493b6b562024a | ||
REACT_APP_API_BASE_URL=http://localhost:4002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
export * from './badge.router'; | ||
export * from './catch-all.router'; | ||
export * from './robots-txt.router'; |