bshepp commited on
Commit
58e2bd0
Β·
1 Parent(s): b706f2e

Fix COPY public dir - no shell syntax in Dockerfile COPY

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -52,7 +52,7 @@ COPY src/backend/app/ ./app/
52
  WORKDIR /app/frontend
53
  COPY --from=frontend-build /app/frontend/.next/standalone ./
54
  COPY --from=frontend-build /app/frontend/.next/static ./.next/static
55
- COPY --from=frontend-build /app/frontend/public ./public 2>/dev/null || true
56
 
57
  # ── Nginx config ─────────────────────────────────────────────────
58
  COPY space/nginx.conf /etc/nginx/nginx.conf
 
52
  WORKDIR /app/frontend
53
  COPY --from=frontend-build /app/frontend/.next/standalone ./
54
  COPY --from=frontend-build /app/frontend/.next/static ./.next/static
55
+ RUN mkdir -p ./public
56
 
57
  # ── Nginx config ─────────────────────────────────────────────────
58
  COPY space/nginx.conf /etc/nginx/nginx.conf