-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Joshua Croft <[email protected]> Co-authored-by: gautamgambhir97 <[email protected]> Co-authored-by: gautamgambhir97 <[email protected]>
- Loading branch information
1 parent
603dfee
commit e94347c
Showing
42 changed files
with
95 additions
and
2,006 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,6 @@ | ||
BACKEND_URL= | ||
NEXT_PUBLIC_GOOGLE_ANALYTICS_TRACKING_ID= | ||
NEXT_PUBLIC_ALGOLIA_APP_ID= | ||
NEXT_PUBLIC_ALGOLIA_API_KEY= | ||
NEXT_PUBLIC_ALGOLIA_INDEX= | ||
NEWSLETTER_BASE_URL= |
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
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,6 +1,11 @@ | ||
FROM node:18-alpine | ||
|
||
ARG BACKEND_URL="" | ||
ARG NEXT_PUBLIC_GOOGLE_ANALYTICS_TRACKING_ID="" | ||
ARG NEXT_PUBLIC_ALGOLIA_APP_ID="" | ||
ARG NEXT_PUBLIC_ALGOLIA_API_KEY="" | ||
ARG NEXT_PUBLIC_ALGOLIA_INDEX="" | ||
ARG NEWSLETTER_BASE_URL="" | ||
ARG SENDER_TOKEN="" | ||
|
||
RUN apk add tree && corepack prepare [email protected] --activate && corepack enable | ||
|
@@ -17,6 +22,10 @@ ENV NODE_ENV="production" | |
RUN echo BACKEND_URL="${BACKEND_URL}" > .env.local && \ | ||
echo SENDER_TOKEN="${SENDER_TOKEN}" > .env.local && \ | ||
echo NEXT_PUBLIC_GOOGLE_ANALYTICS_TRACKING_ID="${NEXT_PUBLIC_GOOGLE_ANALYTICS_TRACKING_ID}" >> .env.local && \ | ||
echo NEXT_PUBLIC_ALGOLIA_APP_ID="${NEXT_PUBLIC_ALGOLIA_APP_ID}" >> .env.local && \ | ||
echo NEXT_PUBLIC_ALGOLIA_API_KEY="${NEXT_PUBLIC_ALGOLIA_API_KEY}" >> .env.local && \ | ||
echo NEXT_PUBLIC_ALGOLIA_INDEX="${NEXT_PUBLIC_ALGOLIA_INDEX}" >> .env.local && \ | ||
echo NEWSLETTER_BASE_URL="${NEWSLETTER_BASE_URL}" >> .env.local && \ | ||
pnpm build | ||
|
||
ENTRYPOINT ["pnpm"] | ||
|
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
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.
Oops, something went wrong.