docs
This commit is contained in:
@@ -22,7 +22,6 @@ WORKDIR /app
|
||||
|
||||
# Install system dependencies
|
||||
RUN apk add --no-cache \
|
||||
curl \
|
||||
gcc \
|
||||
musl-dev \
|
||||
linux-headers
|
||||
@@ -42,10 +41,6 @@ RUN chown -R app:app /app
|
||||
# Switch to non-root user
|
||||
USER app
|
||||
|
||||
# Health check
|
||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
||||
CMD curl -f http://localhost:8001/health || exit 1
|
||||
|
||||
# Expose port
|
||||
EXPOSE 8001
|
||||
|
||||
|
||||
Reference in New Issue
Block a user