add excalidraw with support for storing drawings per user [ci skip]
This commit is contained in:
parent
34f13a2afb
commit
5ded70c1ab
5 changed files with 760 additions and 6 deletions
22
modules/kubernetes/excalidraw/project/Dockerfile
Normal file
22
modules/kubernetes/excalidraw/project/Dockerfile
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue