Files
CollabTable/docker/Dockerfile
T
Gabriel20xx 6c1ea2da47
Docker / Docker Build & Push (push) Failing after 28s
Lint / Lint (push) Failing after 6s
Tests / Go backend (push) Failing after 4s
Tests / Dashboard checks (push) Failing after 6s
feat: add user credentials management and health monitoring features
- Implemented CredentialsDialog for updating user credentials.
- Created auth store with functions for managing authentication state.
- Added HealthWidget to display server health status.
- Introduced health monitoring functionality with polling.
- Developed AppShell layout to manage authentication and loading states.
- Added SettingsDialog for user preferences including theme and language.
- Created utility functions for list management and data fetching.
- Implemented dashboard view mode preferences.
- Integrated search functionality for filtering lists.
- Established theme management with local storage support.
- Added utility functions for class name management.
- Configured SvelteKit for static site generation with fallback.
- Set up Vite for development with proxy support for API calls.
- Created About and List detail pages with data fetching and display.
- Added favicon and updated project configuration files.
2026-08-03 22:38:45 +02:00

25 lines
611 B
Docker

FROM node:22-alpine AS webui-builder
WORKDIR /webui
COPY webui/package*.json ./
RUN npm ci
COPY webui/ ./
RUN npm run build
FROM golang:1.26-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY *.go ./
COPY --from=webui-builder /webui/build ./web
RUN apk add --no-cache ca-certificates && \
CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o server .
FROM scratch
COPY --from=builder /app/server /server
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
USER 65534:65534
EXPOSE 3000
VOLUME ["/data"]
ENV PORT=3000
ENTRYPOINT ["/server"]