mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-31 10:14:35 +01:00
Dockerfile copies were not right
This commit is contained in:
@@ -10,12 +10,12 @@ RUN apk add --update --no-cache \
|
||||
jq \
|
||||
su-exec
|
||||
|
||||
COPY auth.sh /etc/nginx/conf.d
|
||||
COPY auth.sh /etc/nginx/conf.d/
|
||||
COPY default-ssl.conf /etc/nginx/conf.d/default.conf
|
||||
COPY statuspage.html /etc/nginx/conf.d/status
|
||||
COPY statuspage.html /etc/nginx/conf.d/status/
|
||||
COPY entrypoint.sh entrypoint.sh
|
||||
COPY trace.sh /etc/nginx/conf.d
|
||||
COPY tests.sh /etc/nginx/conf.d
|
||||
COPY trace.sh /etc/nginx/conf.d/
|
||||
COPY tests.sh /etc/nginx/conf.d/
|
||||
|
||||
RUN chmod +x /etc/nginx/conf.d/auth.sh entrypoint.sh
|
||||
|
||||
|
||||
2
dist/setup.sh
vendored
2
dist/setup.sh
vendored
@@ -539,7 +539,7 @@ sanity_checks() {
|
||||
exit
|
||||
fi
|
||||
|
||||
if ! [ -x "$(command -v docker-compose)" ]; then
|
||||
if [[ $DOCKER_MODE == 'compose' && ! -x "$(command -v docker-compose)" ]]; then
|
||||
echo " [31mdocker-compose is not installed on your system. Please check https://docs.docker.com/compose/install/.[0m"
|
||||
exit
|
||||
fi
|
||||
|
||||
@@ -28,7 +28,7 @@ WORKDIR ${HOME}
|
||||
|
||||
COPY app/data/* ./
|
||||
COPY app/script/* ./
|
||||
COPY --from=cyphernode/clightning:v0.6.2 /usr/bin/lightning-cli .
|
||||
COPY --from=cyphernode/clightning:v0.6.2 /usr/bin/lightning-cli ./
|
||||
|
||||
RUN chmod +x startproxy.sh requesthandler.sh lightning-cli sqlmigrate*.sh \
|
||||
&& chmod o+w . \
|
||||
|
||||
@@ -24,7 +24,7 @@ WORKDIR ${HOME}
|
||||
|
||||
COPY app/data/* ./
|
||||
COPY app/script/* ./
|
||||
COPY --from=cyphernode/clightning:v0.6.2 /usr/bin/lightning-cli .
|
||||
COPY --from=cyphernode/clightning:v0.6.2 /usr/bin/lightning-cli ./
|
||||
|
||||
RUN chmod +x startproxy.sh requesthandler.sh lightning-cli sqlmigrate*.sh \
|
||||
&& chmod o+w . \
|
||||
|
||||
Reference in New Issue
Block a user