Fixed bad Dockerfile COPY

master
Keith Irwin 2022-11-02 12:29:57 -06:00
parent b39eceafcb
commit dea9bb38ea
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
3 changed files with 2 additions and 3 deletions

View File

@ -48,7 +48,6 @@ printf '%s token was valid\n' "${ip}" >>"${LOGFILE}"
# Check username and usernumber
username="$(<<<"${qs}" grep -oP 'user=(.*)' | sed 's/^user=//')"
usernumber="$(<<<"${qs}" grep -oP 'un=(.*)' | sed 's/^un=//')"
if [[ "${username}" == "" ]]; then
printf 'ERROR! Username missing!\n' | tee -a "${LOGFILE}" | "${LIB_DIR}/http_res" 400

View File

@ -1,3 +1,3 @@
FROM httpd:2.4
COPY admin.html /usr/local/apache2/htdocs/index.html
COPY admin.js knockout.min.js /usr/local/apache2/htdocs/admin.js
COPY admin.js knockout.min.js /usr/local/apache2/htdocs/

View File

@ -1,3 +1,3 @@
FROM httpd:2.4
COPY dashboard.html /usr/local/apache2/htdocs/index.html
COPY dashboard.js knockout.min.js /usr/local/apache2/htdocs/dashboard.js
COPY dashboard.js knockout.min.js /usr/local/apache2/htdocs/