fix(docker): Windows entrypoint CRLF and admin invite link VITE_PLAYER_URL
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -39,7 +39,8 @@ COPY --from=builder /app/apps/api/node_modules ./apps/api/node_modules
|
||||
|
||||
COPY uploads/banners ./uploads-default/banners
|
||||
COPY docker/api/entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
# Windows checkouts may use CRLF; strip before chmod or Linux exec fails with "no such file".
|
||||
RUN sed -i 's/\r$//' /entrypoint.sh && chmod +x /entrypoint.sh
|
||||
|
||||
WORKDIR /app/apps/api
|
||||
EXPOSE 3000
|
||||
|
||||
Reference in New Issue
Block a user