tangled
alpha
login
or
join now
nekomimi.pet
/
wisp.place-monorepo
88
fork
atom
Monorepo for wisp.place. A static site hosting service built on top of the AT Protocol.
wisp.place
88
fork
atom
overview
issues
9
pulls
pipelines
dockerfiles
nekomimi.pet
1 month ago
3310c68e
75c6d1bc
1/2
deploy-wisp.yml
success
41s
test.yml
failed
33s
+38
-1
3 changed files
expand all
collapse all
unified
split
Dockerfile
apps
firehose-service
Dockerfile
hosting-service
Dockerfile
+2
-1
Dockerfile
···
11
11
COPY packages ./packages
12
12
COPY apps/main-app/package.json ./apps/main-app/package.json
13
13
COPY apps/hosting-service/package.json ./apps/hosting-service/package.json
14
14
+
COPY apps/firehose-service/package.json ./apps/firehose-service/package.json
14
15
15
16
# Install all dependencies (including workspaces)
16
17
RUN bun install --frozen-lockfile
···
48
49
49
50
EXPOSE 8000
50
51
51
51
-
CMD ["./server"]
52
52
+
CMD ["./server"]
+35
apps/firehose-service/Dockerfile
···
1
1
+
# Build from monorepo root: docker build -f apps/firehose-service/Dockerfile .
2
2
+
3
3
+
# Stage 1: Install dependencies
4
4
+
FROM oven/bun:1-alpine AS builder
5
5
+
6
6
+
WORKDIR /app
7
7
+
8
8
+
# Copy workspace configuration files
9
9
+
COPY package.json bun.lock tsconfig.json ./
10
10
+
11
11
+
# Copy all workspace packages (needed for workspace: dependencies)
12
12
+
COPY packages ./packages
13
13
+
COPY apps/firehose-service ./apps/firehose-service
14
14
+
COPY apps/main-app/package.json ./apps/main-app/package.json
15
15
+
COPY apps/hosting-service/package.json ./apps/hosting-service/package.json
16
16
+
COPY cli/package.json ./cli/package.json
17
17
+
18
18
+
# Install dependencies
19
19
+
RUN bun install --frozen-lockfile
20
20
+
21
21
+
# Stage 2: Runtime
22
22
+
FROM oven/bun:1-alpine AS runtime
23
23
+
24
24
+
WORKDIR /app
25
25
+
26
26
+
# Copy workspace and dependencies from builder
27
27
+
COPY --from=builder /app /app
28
28
+
29
29
+
WORKDIR /app/apps/firehose-service
30
30
+
31
31
+
ENV NODE_ENV=production
32
32
+
ENV HEALTH_PORT=3001
33
33
+
34
34
+
# Start the firehose service
35
35
+
CMD ["bun", "run", "start"]
+1
apps/hosting-service/Dockerfile
···
13
13
COPY packages ./packages
14
14
COPY apps/hosting-service ./apps/hosting-service
15
15
COPY apps/main-app/package.json ./apps/main-app/package.json
16
16
+
COPY apps/firehose-service/package.json ./apps/firehose-service/package.json
16
17
COPY cli/package.json ./cli/package.json
17
18
18
19
# Install dependencies