Fix Dockerfile.embedded failing to build

This commit is contained in:
root 2023-05-31 11:04:58 +00:00
parent 681dff66df
commit 7d841abf70
4 changed files with 9588 additions and 9587 deletions

View file

@ -6,6 +6,7 @@ COPY webui webui
### Build Vue.js into plain HTML/CSS/JS
WORKDIR /app/webui
RUN npm i
RUN npm run build-embed
FROM golang:1.19.1 AS builder
@ -30,4 +31,4 @@ WORKDIR /app/
COPY --from=builder /app/webapi ./
### Executable command
CMD ["/app/webapi", "--db-filename", "/data/wasaphoto.db", "--data-path", "/data/data"]
CMD ["/app/webapi", "--db-filename", "/data/wasaphoto.db", "--data-path", "/data/data"]