-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: Configure for deployment on premise * feature: Add projects page * fix: Fix linter warnings * fix: Revert to using adapter-cloudflare for main integration --------- Co-authored-by: Alexander Goussas <alexander.goussas@tia.com.ec>
- Loading branch information
Showing
18 changed files
with
7,199 additions
and
43 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,2 @@ | ||
node_modules | ||
build |
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,22 @@ | ||
FROM node:22 AS build | ||
|
||
WORKDIR /app | ||
|
||
COPY package.json ./ | ||
COPY package-lock.json ./ | ||
|
||
RUN npm install | ||
|
||
COPY . ./ | ||
|
||
RUN NODE_OPTIONS="--max_old_space_size=1512" npm run build | ||
|
||
FROM node:22 | ||
|
||
COPY --from=build /app/build ./build | ||
COPY package.json ./ | ||
COPY package-lock.json ./ | ||
|
||
RUN npm ci --omit dev | ||
|
||
CMD ["node", "build"] |
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,2 @@ | ||
docker build -t aloussase/kokoa-site . | ||
docker push aloussase/kokoa-site |
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,5 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
docker build -t aloussase/kokoa-site . | ||
docker push aloussase/kokoa-site |
Oops, something went wrong.