Add dockerfile

This commit is contained in:
2026-03-04 20:54:20 +01:00
parent 75ce127a28
commit 8cea5b968a
3 changed files with 45 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1
FROM node:lts AS buildfront
COPY front .
RUN npm install && npm run build
FROM golang:1.25
WORKDIR /src
COPY . .
COPY --from=buildfront ./dist front/dist
RUN go build -tags=embed
CMD ["./bibliomane", "-D", "-C", "-n"]