fix dockerfile 17
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-10-24 21:28:12 +02:00
parent 5f3fe359bd
commit 9e9c607fa3
2 changed files with 7 additions and 9 deletions

View File

@@ -15,13 +15,11 @@ COPY start.sh /usr/local/bin/start.sh
# Make start script executable
RUN chmod +x /usr/local/bin/start.sh
USER knot
WORKDIR /var/lib/knot
VOLUME /etc/knot
VOLUME /var/lib/knot
EXPOSE 8053
EXPOSE 53
CMD [ "/usr/local/bin/start.sh" ]

View File

@@ -17,10 +17,10 @@ spec:
image: %IMAGE%
ports:
- name: dns-tcp
containerPort: 8053
containerPort: 53
protocol: TCP
- name: dns-udp
containerPort: 8053
containerPort: 53
protocol: UDP
env:
- name: KNOT_USER
@@ -39,12 +39,12 @@ spec:
cpu: "500m"
livenessProbe:
tcpSocket:
port: 8053
port: 53
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
tcpSocket:
port: 8053
port: 53
initialDelaySeconds: 5
periodSeconds: 5
volumes:
@@ -66,11 +66,11 @@ spec:
ports:
- name: dns-tcp
port: 53
targetPort: 8053
targetPort: 53
protocol: TCP
- name: dns-udp
port: 53
targetPort: 8053
targetPort: 53
protocol: UDP
---
apiVersion: v1