Add dockerfile
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user