ci: add Dockerfile and Gitea Actions workflow for automated image builds
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled

- Dockerfile based on node:18-alpine
- Gitea Actions workflow triggers on push to release/* branches
- Builds and pushes to Gitea container registry with version tags
This commit is contained in:
2026-05-15 15:15:09 +01:00
parent d90908c1da
commit 87f8c2d42b
3 changed files with 72 additions and 0 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM node:18-alpine
WORKDIR /app
# Copy package files and install dependencies
COPY package.json package-lock.json ./
RUN npm ci --omit=dev
# Copy application source
COPY server/ ./server/
COPY public/ ./public/
EXPOSE 3001
ENV NODE_ENV=production
CMD ["node", "server/index.js"]