mirror of
https://github.com/Lifeforge-app/lifeforge.git
synced 2026-06-27 22:36:06 +00:00
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.
14 lines
373 B
Docker
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"]
|