forked from SW/traefik
Fix new build system for experimental Docker image.
This commit is contained in:
committed by
Traefiker Bot
parent
4c3cf87f62
commit
f346251719
@@ -25,9 +25,10 @@ RUN mkdir -p /usr/local/bin \
|
||||
WORKDIR /go/src/github.com/containous/traefik
|
||||
COPY . /go/src/github.com/containous/traefik
|
||||
|
||||
RUN rm -rf /go/src/github.com/containous/traefik/static/
|
||||
COPY --from=webui /src/static/ /go/src/github.com/containous/traefik/static/
|
||||
|
||||
RUN ./script/make.sh binary
|
||||
RUN ./script/make.sh generate binary
|
||||
|
||||
## IMAGE
|
||||
FROM scratch
|
||||
|
||||
Reference in New Issue
Block a user