Skip to content

Commit 32c1bf9

Browse files
committed
small misc infra stuff
1 parent 312175e commit 32c1bf9

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.docker/spacebar_server.Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM node:22-slim AS builder
2+
WORKDIR /app
3+
4+
RUN apt-get update && apt-get install -y git \
5+
&& rm -rf /var/lib/apt/lists/*
6+
7+
RUN git clone https://github.com/spacebarchat/server.git .
8+
9+
RUN npm ci --include prod --include dev --include optional --include peer
10+
RUN npm run setup
11+
RUN npm prune --production
12+
13+
CMD ["npm", "run", "start"]

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: "Nightly Builds"
33
on:
44
push:
55
branches: [main]
6-
pull_request:
7-
branches: [main]
86
workflow_dispatch:
97
inputs:
108
ref:

0 commit comments

Comments
 (0)