Fixed error access to inside the docker container.
Fixed when run docker exec -it $container_ID /bin/bash rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory"
This commit is contained in:
parent
8618e0cb58
commit
9131ea5aed
@ -12,7 +12,7 @@ WORKDIR /go/src/github.com/filebrowser/filebrowser/cmd/filebrowser
|
||||
RUN CGO_ENABLED=0 go build -a
|
||||
RUN mv filebrowser /go/bin/filebrowser
|
||||
|
||||
FROM scratch
|
||||
FROM ubuntu
|
||||
COPY --from=0 /go/bin/filebrowser /filebrowser
|
||||
|
||||
VOLUME /tmp
|
||||
|
||||
Loading…
Reference in New Issue
Block a user