From 24d0c7219e937cfe27b1ad0ad1dd090a4ba848a7 Mon Sep 17 00:00:00 2001 From: Johannes Schickling Date: Tue, 15 Sep 2015 23:34:43 +0100 Subject: [PATCH] fix s3cmd --- s3cmd/Dockerfile | 2 ++ s3cmd/README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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