diff --git a/Dockerfile b/Dockerfile
index 46b75ec96951efa52132417b3392778ccab3990c..36de1281a0aaa22ab3b9eef23cc9cd8938d07b3b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM nginx:1.9
+FROM nginx:alpine
 
 ADD run.sh /run.sh
 ADD default.conf /etc/nginx/conf.d/default.conf
diff --git a/run.sh b/run.sh
index c7d342d30adc7c9596fd8737b376eb6ebbd60884..61cfca80062cd67f6ba600d71efbb4400f82a7cd 100644
--- a/run.sh
+++ b/run.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/usr/bin/env sh
 
 if [ ! -n "$SERVER_REDIRECT" ] ; then
     echo "Environment variable SERVER_REDIRECT is not set, exiting."