mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-03-13 13:35:23 +01:00
Fix Dockerfile.embedded not including webui
This commit is contained in:
parent
996d92bbf5
commit
6816f24700
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM node:lts as builder
|
||||
FROM node:lts as ui-builder
|
||||
|
||||
### Copy Vue.js code
|
||||
WORKDIR /app
|
||||
|
@ -13,6 +13,7 @@ FROM golang:1.19.1 AS builder
|
|||
### Copy Go code
|
||||
WORKDIR /src/
|
||||
COPY . .
|
||||
COPY --from=ui-builder /app/webui webui
|
||||
|
||||
### Build executables
|
||||
RUN go build -tags webui -o /app/webapi ./cmd/webapi
|
||||
|
|
Loading…
Reference in a new issue