CI install sqlite3
All checks were successful
Deploy App / build (push) Successful in 2m36s
Deploy App / deploy (push) Successful in 17s

This commit is contained in:
valere
2026-01-04 10:34:10 +01:00
parent f75a1481bd
commit 3b05938162
3 changed files with 8 additions and 5 deletions

3
.env Executable file
View File

@@ -0,0 +1,3 @@
DOMAIN=evilspins.com
PORT=7901
PORT_EXPOSED=3000

View File

@@ -1,5 +1,6 @@
# Builder # Builder
FROM node:20-bookworm AS builder FROM node:20-alpine AS builder
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN npm install --legacy-peer-deps RUN npm install --legacy-peer-deps
@@ -8,7 +9,9 @@ COPY . .
RUN npm run build RUN npm run build
# Runtime # Runtime
FROM node:20-slim AS runner FROM node:20-alpine AS runner
RUN apk add --no-cache python3 make g++ sqlite
WORKDIR /app WORKDIR /app
COPY --from=builder /app/.output ./.output COPY --from=builder /app/.output ./.output
COPY package*.json ./ COPY package*.json ./

3
env.sh
View File

@@ -1,3 +0,0 @@
export DOMAIN="evilspins.com"
export PORT="7901"
export PORT_EXPOSED="3000"