mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-05 12:22:35 +02: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
|
### Copy Vue.js code
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
@ -13,6 +13,7 @@ FROM golang:1.19.1 AS builder
|
||||||
### Copy Go code
|
### Copy Go code
|
||||||
WORKDIR /src/
|
WORKDIR /src/
|
||||||
COPY . .
|
COPY . .
|
||||||
|
COPY --from=ui-builder /app/webui webui
|
||||||
|
|
||||||
### Build executables
|
### Build executables
|
||||||
RUN go build -tags webui -o /app/webapi ./cmd/webapi
|
RUN go build -tags webui -o /app/webapi ./cmd/webapi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue