Skip to content

Commit

Permalink
Fix path in entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
raphink committed Feb 23, 2016
1 parent 564604a commit d01adec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

if ! [ -z $S3_BUCKET ]; then
cat << EOF > /var/www/html/catalog_diff/s3_credentials.js
if test -n "$S3_BUCKET" ; then
cat << EOF > /usr/share/nginx/html/catalog_diff/s3_credentials.js
var s3_bucketName = '${S3_BUCKET}';
var s3_access_key = '${S3_ACCESS_KEY}';
var s3_secret_key = '${S3_SECRET_KEY}';
Expand Down

0 comments on commit d01adec

Please sign in to comment.