Open polRk opened 1 month ago
Install git or disable lastUpdated. alpine doesn't have that installed by default.
Install git or disable lastUpdated. alpine doesn't have that installed by default.
It solved problem with git ENOET
, but But that's not the problem
@brc-dd Reopen please, you are wrong
Please share a minimal reproducible example.
@brc-dd github.com:polRk/vitpress-101-docker-bug.git
Run on Apple Silicon
I think the problem is that I am building an image for amd64 on arm64.
FROM --platform=linux/amd64. I need it line.
works fine on my mac:
=> [final 2/4] RUN touch /var/run/nginx.pid && chown -R nginx:nginx /var/cache/nginx /var/run/nginx.pid 0.1s
=> [final 3/4] COPY nginx.conf /etc/nginx/nginx.conf 0.0s
=> [build 5/6] COPY .vitepress content ./ 0.0s
=> [build 6/6] RUN npm run build 4.6s
=> [final 4/4] COPY --from=build /app/.vitepress/dist/ /usr/share/nginx/html 0.0s
Preview kind of breaks but you'll need to adjust CSP headers added by nginx for that.
Describe the bug
Infinite loading during docker build
Reproduction
Expected behavior
The build phase should be completed quickly
System Info
Additional context
No response
Validations