proxy: add Makefile and remove test file from Dockerfile

pull/670/head
iwilltry42 3 years ago
parent ff76512e63
commit 756a7d7b6e
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110
  1. 1
      proxy/Dockerfile
  2. 5
      proxy/Makefile

@ -11,6 +11,5 @@ RUN echo "Building for '${OS}/${ARCH}'..." \
COPY templates /etc/confd/templates/
COPY conf.d /etc/confd/conf.d/
COPY nginx-proxy /usr/bin/
COPY test/portmap.yaml /etc/confd/values.yaml
ENTRYPOINT nginx-proxy

@ -0,0 +1,5 @@
.PHONY: test
test:
docker build . -t rancher/k3d-proxy:dev
docker run --rm -v $(shell pwd)/test/portmap.yaml:/etc/confd/values.yaml rancher/k3d-proxy:dev
Loading…
Cancel
Save