feat: properly handle dhparam

The dhparam file should be specific to each installation, and thus needs to be generated on first run.
This commit is contained in:
Jose Diaz-Gonzalez
2019-06-09 12:17:32 -04:00
parent 6fe984fd3c
commit 9b67ffe9d4
3 changed files with 13 additions and 0 deletions

View File

@@ -23,6 +23,9 @@ ARG DOKKU_SKIP_KEY_FILE=true
RUN addgroup --gid $DOKKU_GID dokku && \
adduser --uid $DOKKU_UID --gid $DOKKU_GID --disabled-password --gecos "" "dokku"
RUN mkdir /etc/nginx/
COPY tests/dhparam.pem /etc/nginx/dhparam.pem
RUN export DOKKU_TAG=$DOKKU_TAG \
DOKKU_DOCKERFILE=$DOKKU_DOCKERFILE \
DOKKU_WEB_CONFIG=$DOKKU_WEB_CONFIG \