Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production release #112

Merged
merged 2 commits into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"]