Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ArweaveTeam/gateway into v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLoneRonin committed Feb 15, 2021
2 parents 7b08b23 + 3254a82 commit 24bfc38
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ snapshot
**/*.log
**/.DS_Store
**/Thumbs.db

# Webstorm
.idea
7 changes: 5 additions & 2 deletions docker/gateway.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@ LABEL Arweave Team <[email protected]>

WORKDIR /app

COPY package.json package.json
COPY yarn.lock yarn.lock

RUN yarn install

COPY bin/wait.sh bin/wait.sh
COPY .env .env
COPY types.graphql types.graphql
COPY codegen.yml codegen.yml
COPY knexfile.ts knexfile.ts
COPY package.json package.json
COPY tsconfig.json tsconfig.json
COPY src src
COPY migrations migrations

RUN chmod +x bin/wait.sh
RUN yarn
RUN yarn dev:build

CMD ["./bin/wait.sh", "$DATABASE_HOST:$DATABASE_PORT", "--", "yarn", "start"]

0 comments on commit 24bfc38

Please sign in to comment.