Skip to content

Commit

Permalink
Merge pull request #111 from edenia/update-aa-endpoint-pdn-environment
Browse files Browse the repository at this point in the history
fix(devops): Update AA endpoint for production environment
  • Loading branch information
fagomezra committed Jul 6, 2023
2 parents ad4732a + d8127ea commit 2c080de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push-pdn-environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,8 @@ jobs:
NEXT_PUBLIC_TOKEN_CONTRACT: eosio.token
NEXT_PUBLIC_TOKEN_SYMBOL: EOS
NEXT_PUBLIC_TOKEN_PRECISION: 4
NEXT_PUBLIC_AA_BASE_URL: https://jungle-aa.edenia.cloud/atomicassets/v1
NEXT_PUBLIC_AA_MARKET_URL: https://jungle-aa.edenia.cloud/atomicmarket/v1
NEXT_PUBLIC_AA_BASE_URL: https://eden-eos-aa.global.binfra.one/atomicassets/v1
NEXT_PUBLIC_AA_MARKET_URL: https://eden-eos-aa.global.binfra.one/atomicmarket/v1
NEXT_PUBLIC_AA_HUB_URL: https://eos.atomichub.io
NEXT_PUBLIC_AA_CONTRACT: atomicassets
NEXT_PUBLIC_AA_MARKET_CONTRACT: atomicmarket
Expand Down
12 changes: 6 additions & 6 deletions docker/eden-webapp.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Install dependencies only when needed.
# Install dependencies only when needed
FROM node:lts-alpine3.14 AS deps

RUN apk add --no-cache libc6-compat
Expand All @@ -13,7 +13,7 @@ COPY ./packages/webapp/package.json ./packages/webapp/

RUN yarn install --frozen-lockfile

# Rebuild the source code only when needed.
# Rebuild the source code only when needed
FROM node:lts-alpine3.14 AS builder
WORKDIR /app

Expand All @@ -28,13 +28,13 @@ COPY --from=deps /app/packages/webapp/node_modules ./packages/webapp/node_module

RUN yarn build --stream

# Production image, copy all the files and run next.
# Production image, copy all the files and run next
FROM node:lts-alpine3.14 AS runner
WORKDIR /app

ENV NODE_ENV production

# You only need to copy next.config.js if you are NOT using the default configuration.
# You only need to copy next.config.js if you are NOT using the default configuration
COPY --from=builder /app .

RUN addgroup -g 1001 -S nodejs
Expand All @@ -44,8 +44,8 @@ USER nextjs

EXPOSE 3000

# Next.js collects completely anonymous telemetry data about general usage.
# Next.js collects completely anonymous telemetry data about general usage
# Learn more here: https://nextjs.org/telemetry
# Uncomment the following line in case you want to disable telemetry.
# Uncomment the following line in case you want to disable telemetry
# RUN npx next telemetry disable
CMD ["yarn", "start", "--stream"]

0 comments on commit 2c080de

Please sign in to comment.