mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-08-23 22:28:43 +08:00
Serve both UI assets and REST API from handler
This commit is contained in:
@@ -36,7 +36,7 @@ RUN go mod download
|
||||
COPY . .
|
||||
|
||||
# Copy frontend static files from /static to the root folder of the backend container.
|
||||
COPY --from=frontend ["/static/build", "ui-assets"]
|
||||
COPY --from=frontend ["/static/build", "ui/build"]
|
||||
|
||||
# Set necessary environmet variables needed for the image and build the server.
|
||||
ENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64
|
||||
|
Reference in New Issue
Block a user