Initial commit: Excalidraw Rooms with per-user storage

This commit is contained in:
Viktor Barzin 2026-01-26 20:07:00 +00:00
commit 7272c9cd55
9 changed files with 871 additions and 0 deletions

22
Dockerfile Normal file
View file

@ -0,0 +1,22 @@
FROM golang:1.21-alpine AS builder
WORKDIR /app
COPY go.mod ./
COPY main.go ./
COPY static/ ./static/
RUN go build -o excalidraw-library .
FROM alpine:latest
RUN apk --no-cache add ca-certificates
WORKDIR /app
COPY --from=builder /app/excalidraw-library .
ENV DATA_DIR=/data
ENV PORT=8080
EXPOSE 8080
CMD ["./excalidraw-library"]