Add posts directory to Dockerfile for production build
All checks were successful
Build and Deploy Blog / build-and-deploy-local (push) Successful in 31s
All checks were successful
Build and Deploy Blog / build-and-deploy-local (push) Successful in 31s
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user