Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from eukarya-inc/add-proxy
Browse files Browse the repository at this point in the history
Added proxy
  • Loading branch information
tomoyane authored Mar 16, 2024
2 parents c07f308 + 64eb7e5 commit d801473
Show file tree
Hide file tree
Showing 14 changed files with 7,499 additions and 0 deletions.
Empty file added .github/workflows/build.yaml
Empty file.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'CI'

on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'

- name: Dependencies
run: npm ci

- name: Build
run: npm install -g pkg && npm run build
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.idea/
node_modules/
express-*
notion-proxy
gcp/
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:18-alpine

RUN apk --no-cache add git python3 make g++ && \
npm install -g pkg

WORKDIR /notion-proxy
COPY package*.json ./
COPY src ./src

RUN npm ci
RUN pkg src/expressApp.js -o /notion-proxy/app

ENTRYPOINT [ "/notion-proxy/app" ]
Loading

0 comments on commit d801473

Please sign in to comment.