Normalize line breaks when starting Docker environment within a windows environment.

This commit is contained in:
alext 2018-02-27 14:55:51 +01:00
parent 49c856054c
commit ca6c62578f

View file

@ -8,6 +8,8 @@ RUN docker-php-ext-install mysqli gettext
COPY ./src $PROJECT_DIR COPY ./src $PROJECT_DIR
COPY docker-entrypoint.sh /entrypoint.sh COPY docker-entrypoint.sh /entrypoint.sh
RUN sed -i 's/\r//' /entrypoint.sh
VOLUME $PROJECT_DIR/storage VOLUME $PROJECT_DIR/storage
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"] ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]