Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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
|
| 8 |
-
RUN
|
| 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
|