revert: remove entrypoint migration
This commit is contained in:
@@ -67,12 +67,11 @@ COPY --from=builder /app/package.json ./package.json
|
||||
COPY --from=builder /app/tsconfig.json ./tsconfig.json
|
||||
COPY --from=builder /app/prisma ./prisma
|
||||
COPY --from=builder /app/src ./src
|
||||
COPY entrypoint.sh ./entrypoint.sh
|
||||
|
||||
# Env vars runtime dikelola oleh Portainer (stack env / container env).
|
||||
# Tidak perlu copy .env ke runner — image tetap bersih tanpa secrets.
|
||||
|
||||
RUN chown -R nextjs:nodejs /app && chmod +x entrypoint.sh
|
||||
RUN chown -R nextjs:nodejs /app
|
||||
|
||||
USER nextjs
|
||||
|
||||
@@ -81,5 +80,4 @@ EXPOSE 3000
|
||||
ENV PORT=3000
|
||||
ENV HOSTNAME="0.0.0.0"
|
||||
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
CMD ["bun", "run", "start"]
|
||||
Reference in New Issue
Block a user