merasabkuch commited on
Commit
3b01c27
1 Parent(s): 4862304

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -9
Dockerfile CHANGED
@@ -4,15 +4,8 @@ FROM alpine:latest
4
  # Install dnsmasq and curl (for health checks)
5
  RUN apk --no-cache add dnsmasq curl
6
 
7
- # Create a directory for the dnsmasq configuration
8
- RUN mkdir -p /etc/dnsmasq.d
9
-
10
- # Create dnsmasq.conf inline
11
- RUN echo ' \
12
- address=/lehrastudio.com/195.179.239.105 \n\
13
- log-queries \n\
14
- listen-address=0.0.0.0 \n\
15
- ' > /etc/dnsmasq.conf
16
 
17
  # Expose port 7860 (the custom DNS port)
18
  EXPOSE 7860/udp
 
4
  # Install dnsmasq and curl (for health checks)
5
  RUN apk --no-cache add dnsmasq curl
6
 
7
+ # Create dnsmasq.conf inline with correct formatting
8
+ RUN echo "address=/lehrastudio.com/195.179.239.105\nlog-queries\nlisten-address=0.0.0.0" > /etc/dnsmasq.conf
 
 
 
 
 
 
 
9
 
10
  # Expose port 7860 (the custom DNS port)
11
  EXPOSE 7860/udp