diff --git a/Dockerfile.static b/Dockerfile.static index 1f6d87c..6d6379f 100644 --- a/Dockerfile.static +++ b/Dockerfile.static @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -FROM nginx +FROM nginx:alpine MAINTAINER Jones MAGLOIRE @Joxit @@ -23,4 +23,4 @@ COPY dist/scripts/script-static.js /usr/share/nginx/html/scripts/script.js COPY dist/scripts/tags-static.js /usr/share/nginx/html/scripts/tags.js COPY bin/entrypoint /bin -ENTRYPOINT entrypoint \ No newline at end of file +ENTRYPOINT entrypoint diff --git a/bin/entrypoint b/bin/entrypoint index 27fc379..fb8734c 100755 --- a/bin/entrypoint +++ b/bin/entrypoint @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh $@ sed -i "s,\${URL},${URL}," scripts/script.js @@ -10,4 +10,4 @@ if [ -z "$@" ]; then nginx -g "daemon off;" else $@ -fi \ No newline at end of file +fi