Skip to content

Commit

Permalink
Add project details page (#59)
Browse files Browse the repository at this point in the history
* 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
aloussase and Alexander Goussas authored Sep 22, 2024
1 parent 98b998c commit a438c89
Show file tree
Hide file tree
Showing 18 changed files with 7,199 additions and 43 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
build
22 changes: 22 additions & 0 deletions Dockerfile
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"]
2 changes: 2 additions & 0 deletions deploy.ps1
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
5 changes: 5 additions & 0 deletions deploy.sh
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
Loading

0 comments on commit a438c89

Please sign in to comment.