Browse Source

Added certificates to Dockerfile

luis 6 years ago
parent
commit
5985ab745e
2 changed files with 2 additions and 1 deletions
  1. 1 1
      Makefile
  2. 1 0
      docker/Dockerfile

+ 1 - 1
Makefile

@@ -7,7 +7,7 @@ clean:
 DIST:
 	mkdir -p DIST
 
-DIST/demo1: DIST update-ui
+DIST/demo1: DIST
 	cd go;make
 	cp go/DIST/* DIST/
 

+ 1 - 0
docker/Dockerfile

@@ -1,5 +1,6 @@
 FROM scratch
 COPY DIST/ /app
+COPY /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs
 WORKDIR /app
 EXPOSE 2015
 CMD ["/app/demo1"]