f500db971b
build-and-push / build-and-push (push) Successful in 1m26s
Fastify + node:sqlite single-process app with vanilla JS UI for looking up hosts by hardware ID, hostname, or asset ID. Includes per-host network interface tracking, sites/rooms/server-types CRUD, Docker packaging, and a Gitea Actions workflow that runs tests then builds and pushes to gitea.thewrightserver.net/josh/infrastructure. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
14 lines
233 B
Docker
14 lines
233 B
Docker
FROM node:22-alpine
|
|
RUN addgroup -S app && adduser -S app -G app
|
|
WORKDIR /app
|
|
|
|
COPY package*.json ./
|
|
RUN npm ci --omit=dev
|
|
|
|
COPY . .
|
|
RUN mkdir -p /app/data && chown -R app:app /app
|
|
USER app
|
|
|
|
EXPOSE 3000
|
|
CMD ["node", "src/server.js"]
|