Skip to content

Commit

Permalink
Merge pull request #15 from allan-simon/patch-3
Browse files Browse the repository at this point in the history
add no-vhost-buckets
  • Loading branch information
jean553 authored Feb 21, 2021
2 parents 86b0974 + 78e2068 commit dee9115
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
FROM mhart/alpine-node:latest
RUN apk add --no-cache git
RUN npm install -g [email protected].0
RUN npm install -g [email protected].1
RUN npm install aws-sdk
WORKDIR /
COPY CORS.xml /CORS.xml
EXPOSE 5000
CMD s3rver -a 0.0.0.0 --port 5000 \
--allow-mismatched-signatures \
--no-vhost-buckets \
--directory /tmp \
--configure-bucket "$S3_BUCKET_NAME" /CORS.xml $S3RVER_EXTRA_ARGS

0 comments on commit dee9115

Please sign in to comment.