Updated dockerfile and moved to docker/production folder
This commit is contained in:
1 parent
8d130421c4
commit
441e2ad2f3
2 files changed
+16
No files matched your search
@@ -10,6 +10,7 @@ ADD tmp/ /opt/grafana/
|
||||
EXPOSE 3000
|
||||
|
||||
VOLUME ["/opt/grafana/data"]
|
||||
VOLUME ["/opt/grafana/conf"]
|
||||
|
||||
WORKDIR /opt/grafana/
|
||||
ENTRYPOINT ["./grafana", "web"]
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
cp Dockerfile ../../
|
||||
cd ../../
|
||||
|
||||
go run build.go build
|
||||
|
||||
npm grunt release
|
||||
|
||||
docker build --tag "grafana/grafana:develop" .
|
||||
|
||||
rm Dockerfile
|
||||
cd docker/production
|
||||
|
||||
|
||||
Reference in new issue
Block a user