-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathDockerfile
More file actions
38 lines (28 loc) · 708 Bytes
/
Dockerfile
File metadata and controls
38 lines (28 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
ARG BUILD_FROM
FROM ${BUILD_FROM}
# Version: 2.10.44 - WebSocket disconnect / reconnect resilience (see CHANGELOG)
# Build timestamp: 2026-04-17
# Install system dependencies
RUN apk add --no-cache \
git \
bash \
curl \
jq
# Set working directory
WORKDIR /app
# Copy requirements
COPY requirements.txt .
# Install Python dependencies
RUN pip3 install --no-cache-dir -r requirements.txt
# Copy application
COPY app/ ./app/
COPY run.sh .
# Make run script executable
RUN chmod +x run.sh
# Expose port
EXPOSE 8099
# Health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \
CMD curl -f http://localhost:8099/api/health || exit 1
# Run
CMD ["./run.sh"]