Fix Docker build by inlining WebSocket hook and copying full source
deploy to danak / build_and_deploy (push) Has been cancelled
deploy to danak / build_and_deploy (push) Has been cancelled
This commit is contained in:
+1
-3
@@ -34,8 +34,7 @@ WORKDIR /build
|
||||
|
||||
RUN apk add --no-cache python3 make g++
|
||||
|
||||
COPY package.json package-lock.json nuxt.config.js ./
|
||||
COPY assets components layouts middleware mixins modules pages plugins server static store ./
|
||||
COPY . .
|
||||
|
||||
COPY --from=deps /deps/node_modules ./node_modules
|
||||
|
||||
@@ -57,7 +56,6 @@ COPY --from=prod-deps --chown=appuser:appgroup /deps/node_modules ./node_modules
|
||||
COPY --from=builder --chown=appuser:appgroup /build/.nuxt ./.nuxt
|
||||
COPY --from=builder --chown=appuser:appgroup /build/static ./static
|
||||
COPY --from=builder --chown=appuser:appgroup /build/server ./server
|
||||
COPY --from=builder --chown=appuser:appgroup /build/modules ./modules
|
||||
COPY --from=builder --chown=appuser:appgroup /build/nuxt.config.js /build/package.json ./
|
||||
|
||||
USER appuser
|
||||
|
||||
Reference in New Issue
Block a user