From ca6c62578fd5b3a83dfd4ab49b82883c95506fe1 Mon Sep 17 00:00:00 2001 From: alext Date: Tue, 27 Feb 2018 14:55:51 +0100 Subject: [PATCH] Normalize line breaks when starting Docker environment within a windows environment. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4c4b60f5..fd721d9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,8 @@ RUN docker-php-ext-install mysqli gettext COPY ./src $PROJECT_DIR COPY docker-entrypoint.sh /entrypoint.sh +RUN sed -i 's/\r//' /entrypoint.sh + VOLUME $PROJECT_DIR/storage ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]