Files
lifeforge/docker/db/Dockerfile
Ilya_Balter_1C fc99cfa946 fix(build): strip carriage returns from entrypoint scripts for windows compatibility
Entrypoint scripts fail to execute in containers when built on Windows due to CRLF line endings. Added sed command to Dockerfiles to ensure LF line endings at runtime.
2026-06-25 08:53:30 +08:00

14 lines
373 B
Docker

# syntax=docker/dockerfile:1
# ============================================
# PocketBase - Minimal database image
# ============================================
FROM ghcr.io/muchobien/pocketbase:latest
# Copy entrypoint script
COPY docker/db/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh && \
sed -i 's/\r$//' /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]