mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-05-04 13:19:38 +08:00
修改Dockerfile
This commit is contained in:
parent
03fb94fd55
commit
a8358e1e51
@ -8,7 +8,8 @@ WORKDIR /go/src/github.com/lifei6671/godoc
|
|||||||
|
|
||||||
RUN chmod +x start.sh
|
RUN chmod +x start.sh
|
||||||
|
|
||||||
RUN go build -ldflags "-w" && \
|
RUN go get -d ./... && \
|
||||||
|
go build -ldflags "-w" && \
|
||||||
rm -rf commands controllers models routers search vendor .gitignore .travis.yml Dockerfile gide.yaml LICENSE main.go README.md utils graphics Godeps
|
rm -rf commands controllers models routers search vendor .gitignore .travis.yml Dockerfile gide.yaml LICENSE main.go README.md utils graphics Godeps
|
||||||
|
|
||||||
CMD ["./start.sh"]
|
CMD ["./start.sh"]
|
Loading…
Reference in New Issue
Block a user