From 2f74ef5ca74017538fb7b3d4debfc3808a90d428 Mon Sep 17 00:00:00 2001 From: Hexagon Date: Wed, 3 Nov 2021 21:29:56 +0100 Subject: [PATCH] CRLF -> LF in docker-entrypoint --- docker-entrypoint.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 6bdffc1..8c12ffc 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -1,11 +1,11 @@ -#!/bin/sh - -set -e - -# /usr/src/app/external-public kan be mounted as a volume on host to expose -# statics to be hosted by host nginx -if [ -d /usr/src/app/external-public ]; then - cp -R /usr/src/app/client/public/* /usr/src/app/external-public/ -fi - -exec "$@" +#!/bin/sh + +set -e + +# /usr/src/app/external-public kan be mounted as a volume on host to expose +# statics to be hosted by host nginx +if [ -d /usr/src/app/external-public ]; then + cp -R /usr/src/app/client/public/* /usr/src/app/external-public/ +fi + +exec "$@"