这样:

....:
  build: ...
  ...
  ports:
    - "53:53/udp"