diff --git a/s3cmd/Dockerfile b/s3cmd/Dockerfile index a7cded0..93fe6c6 100644 --- a/s3cmd/Dockerfile +++ b/s3cmd/Dockerfile @@ -4,4 +4,6 @@ MAINTAINER Johannes Schickling "schickling.j@gmail.com" ADD install.sh install.sh RUN sh install.sh && rm install.sh +WORKDIR /s3 + ENTRYPOINT ["s3cmd"] diff --git a/s3cmd/README.md b/s3cmd/README.md index e9f44cb..765228e 100644 --- a/s3cmd/README.md +++ b/s3cmd/README.md @@ -4,7 +4,7 @@ Lightweight wrapper around s3cmd ## Usage ```sh -$ docker run schickling/s3cmd sync . s3://my-bucket +$ docker run -v $(pwd):/s3 schickling/s3cmd sync . s3://my-bucket ``` ### `s3cmd` documentation