Skip to content

Commit

Permalink
Removed the creation of the public_html folder in Docker also removed…
Browse files Browse the repository at this point in the history
… from the init script.

Signed-off-by: Israel Roldan <[email protected]>
  • Loading branch information
airvzxf committed Sep 13, 2020
1 parent d2f777a commit f993ef0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
6 changes: 0 additions & 6 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f993ef0

Please sign in to comment.