Fixed bad Dockerfile COPY
parent
b39eceafcb
commit
dea9bb38ea
|
@ -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
|
||||
|
|
|
@ -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/
|
|
@ -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/
|
Loading…
Reference in New Issue