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

Commit d801473

Browse files
authored
Merge pull request #1 from eukarya-inc/add-proxy
Added proxy
2 parents c07f308 + 64eb7e5 commit d801473

File tree

14 files changed

+7499
-0
lines changed

14 files changed

+7499
-0
lines changed

.github/workflows/build.yaml

Whitespace-only changes.

.github/workflows/ci.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 'CI'
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
13+
- name: Setup Node.js
14+
uses: actions/setup-node@v4
15+
with:
16+
node-version: '18.x'
17+
18+
- name: Dependencies
19+
run: npm ci
20+
21+
- name: Build
22+
run: npm install -g pkg && npm run build

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.idea/
2+
node_modules/
3+
express-*
4+
notion-proxy
5+
gcp/

Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM node:18-alpine
2+
3+
RUN apk --no-cache add git python3 make g++ && \
4+
npm install -g pkg
5+
6+
WORKDIR /notion-proxy
7+
COPY package*.json ./
8+
COPY src ./src
9+
10+
RUN npm ci
11+
RUN pkg src/expressApp.js -o /notion-proxy/app
12+
13+
ENTRYPOINT [ "/notion-proxy/app" ]

0 commit comments

Comments
 (0)