Skip to content

Commit c38c837

Browse files
committed
Add docker compose
1 parent 656ee99 commit c38c837

7 files changed

Lines changed: 141 additions & 12 deletions

File tree

.tool-versions

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
nodejs 24.13.1
1+
nodejs 24.13.1
2+
npm 11.12.1

actions/gls-action/Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM node:24-alpine
2+
3+
WORKDIR /app
4+
5+
COPY code0-tech-* ./
6+
7+
COPY package.json package-lock.json tsconfig.base.json turbo.json ./
8+
9+
COPY actions/gls-action ./actions/gls-action
10+
11+
RUN npm ci
12+
13+
WORKDIR /app/actions/gls-actions
14+
15+
RUN npm run build
16+
17+
18+
CMD ["npm", "run", "start", "-w", "@code0-tech/gls-action"]

actions/gls-action/docker-compose.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

docker-compose.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: "3.9"
2+
3+
services:
4+
gls-action:
5+
build:
6+
context: .
7+
dockerfile: actions/gls-action/Dockerfile
8+
container_name: gls-action

package-lock.json

Lines changed: 103 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
"workspaces": [
77
"actions/*"
88
],
9+
"packageManager": "npm@11.12.1",
910
"scripts": {
1011
"build": "npm run build --workspaces --if-present",
12+
"start": "turbo run start",
1113
"test": "vitest run",
1214
"test:watch": "vitest",
1315
"lint": "eslint .",
@@ -17,6 +19,7 @@
1719
"@eslint/js": "^10.0.0",
1820
"eslint": "^10.0.0",
1921
"globals": "^17.4.0",
22+
"turbo": "^2.8.21",
2023
"typescript": "^5",
2124
"typescript-eslint": "^8.0.0",
2225
"vitest": "^4.0.0"

turbo.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"tasks": {
3+
"start": {
4+
"cache": false
5+
}
6+
}
7+
}

0 commit comments

Comments
 (0)