Commit 41812e1e authored by nanahira's avatar nanahira

fix a little bit dockerfile

parent 27951341
Pipeline #983 passed with stage
in 3 minutes and 7 seconds
......@@ -5,8 +5,9 @@ RUN apt update && apt -y install build-essential && rm -rf /tmp/* /var/tmp/* /va
WORKDIR /usr/src/app
COPY . ./
RUN make -j$(nproc) && make install
RUN make -j$(nproc) && make install && \
mkdir -p /etc/dnsmasq.d /var/lib/misc
EXPOSE 53 53/udp 67/udp 68/udp
ENTRYPOINT [ "/usr/local/sbin/dnsmasq" ]
CMD [ "-k", "--conf-file=/etc/dnsmasq.conf", "--no-daemon" ]
CMD [ "-k", "--conf-file=/etc/dnsmasq.conf", "--conf-dir=/etc/dnsmasq.d", "--no-daemon" ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment