12 lines
248 B
Docker
12 lines
248 B
Docker
# 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"]
|