I am sure I have the files in the right place, but I still get this error:
/root/.duplicacy-web/bin/duplicacy_web
Created a new configuration.
Failed to locate the CLI executable
This is despite the fact that upon container startup, I can do the following inside the container:
~ # cd /root/.duplicacy-web/bin
~/.duplicacy-web/bin # ls -lart
total 47624
-rwxrwxr-- 1 root root 26327201 Nov 15 13:54 duplicacy
-rwxrwxr-- 1 root root 22428329 Nov 15 13:54 duplicacy_web
drwxrwxrwx 1 root root 4096 Nov 15 13:54 .
drwxr-xr-x 1 root root 4096 Nov 15 13:56 ..
~/.duplicacy-web/bin #
Is it looking for a specific filename or format? If it looks in ~/.duplicacy-web/bin, does it not like my filename?Here is my dockerfile now (it’s gotten really ugly as I hack it together with Duct Tape
FROM alpine:latest
RUN mkdir -p /app
RUN mkdir -p /root/.duplicacy-web/bin
RUN chmod 777 /root/.duplicacy-web/bin
COPY duplicacy /app/duplicacy
COPY duplicacy_web /app/duplicacy_web
RUN cp /app/duplicacy /root/.duplicacy-web/bin/duplicacy
RUN cp /app/duplicacy_web /root/.duplicacy-web/bin/duplicacy_web
RUN chmod 774 /root/.duplicacy-web/bin/duplicacy
RUN chmod 774 /root/.duplicacy-web/bin/duplicacy_web
EXPOSE 8080
#ENTRYPOINT ["/root/.duplicacy-web/bin/duplicacy_web"]
The last line is commented out so the completed image may be run interactively to get a prompt. Trying to run the coomand in ENTRYPOINT manually starts to create a config, but is still giving an error that it cannot find the CLI. Any ideas?