Add posts directory to Dockerfile for production build
All checks were successful
Build and Deploy Blog / build-and-deploy-local (push) Successful in 31s

This commit is contained in:
2025-09-15 08:34:11 +02:00
parent c8536502bc
commit b8d25b9be4

View File

@@ -23,6 +23,9 @@ COPY --from=prerelease /app/public ./public
COPY --from=prerelease /app/.next ./.next COPY --from=prerelease /app/.next ./.next
COPY --from=prerelease /app/node_modules ./node_modules COPY --from=prerelease /app/node_modules ./node_modules
COPY --from=prerelease /app/package.json ./package.json COPY --from=prerelease /app/package.json ./package.json
COPY --from=prerelease /app/posts ./posts
RUN chown -R bun:bun /app
USER bun USER bun
EXPOSE 3000/tcp EXPOSE 3000/tcp