diff --git a/Dockerfile b/Dockerfile index 2825162..e2a50e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,6 @@ FROM alpine:latest RUN apk add --no-cache lftp WORKDIR /app -WORKDIR /public_html COPY init.sh /app/init.sh COPY LICENSE README.md /app/ diff --git a/init.sh b/init.sh index 5d1ec16..dc63151 100644 --- a/init.sh +++ b/init.sh @@ -21,12 +21,6 @@ echo "=== List this directory ===" ls -lha echo "" -if [ -z "${INPUT_LOCAL_DIR}" ]; then - INPUT_LOCAL_DIR="/public_html/" -else - INPUT_LOCAL_DIR="/public_html/${INPUT_LOCAL_DIR}/" -fi - if [ -z "${INPUT_REMOTE_DIR}" ]; then INPUT_REMOTE_DIR="./" else