Changed Dockerfile
This commit is contained in:
+3
-1
@@ -23,7 +23,9 @@ RUN mkdir -p /build/static/public/static && yarn install --frozen-lockfile
|
|||||||
COPY frontend/ ./
|
COPY frontend/ ./
|
||||||
COPY --from=email-builder /build/email-builder/dist ./public/static/email-builder
|
COPY --from=email-builder /build/email-builder/dist ./public/static/email-builder
|
||||||
ENV VUE_APP_VERSION=${APP_VERSION}
|
ENV VUE_APP_VERSION=${APP_VERSION}
|
||||||
RUN yarn build
|
# Invoke vite directly: the package.json "prebuild" hook runs eslint with
|
||||||
|
# --ignore-path .gitignore, which isn't present in the build context.
|
||||||
|
RUN yarn vite build
|
||||||
|
|
||||||
# ---- backend (Go) ----
|
# ---- backend (Go) ----
|
||||||
FROM golang:1.26-alpine AS backend
|
FROM golang:1.26-alpine AS backend
|
||||||
|
|||||||
Reference in New Issue
Block a user