Skip to content

Commit 0152040

Browse files
dubadubclaude
andcommitted
fix: simplify Docker setup by removing entrypoint script
Remove entrypoint script complexity and run as root to avoid UID mismatch issues. The data directory will be created with proper ownership by Ansible. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 25b643e commit 0152040

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

Dockerfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,12 @@ COPY --from=builder /app/src/web/static /app/src/web/static
6464
# Copy templates
6565
COPY --from=builder /app/src/web/templates /app/src/web/templates
6666

67-
# Copy entrypoint script
68-
COPY docker-entrypoint.sh /usr/local/bin/
69-
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
70-
7167
# Expose port (default, can be overridden by env var)
7268
EXPOSE 3100
7369

7470
# Health check
7571
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
7672
CMD curl -f http://localhost:${PORT:-3100}/health || exit 1
7773

78-
# Set entrypoint to handle permissions and user switching
79-
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
80-
8174
# Run the binary
8275
CMD ["federation", "serve"]

docker-entrypoint.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)