We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Follow up to #123.
The COPY commands I added are adding all the files directly to the /home/calitp/app directory, rather than copying the subdirectories.
COPY
/home/calitp/app
I discovered this while trying to test Benefits devcontainer against the published image, getting the following error:
/bin/bash: bin/start.sh: No such file or directory
This is because start.sh is sitting directly in /home/calitp/app, not /home/calitp/app/bin.
start.sh
/home/calitp/app/bin
Found out by opening bash inside the (Benefits version) of the server:
bash
docker compose run --entrypoint bash server
Then listing the directory:
calitp@46d38f74c1b2:~/app$ ls -al total 52 drwxr-xr-x 1 calitp root 4096 Aug 25 15:50 . drwxr-xr-x 1 calitp calitp 4096 Aug 23 19:33 .. -rw-r--r-- 1 root root 0 Aug 25 15:50 __init__.py -rw-r--r-- 1 root root 1155 Aug 25 15:50 app.py -rw-r--r-- 1 root root 1796 Aug 25 15:50 database.py -rw-r--r-- 1 root root 834 Aug 25 15:50 hash.py -rwxr-xr-x 1 root root 73 Aug 25 15:50 init.sh -rw-r--r-- 1 root root 95 Aug 25 15:50 requirements.txt -rw-r--r-- 1 root root 601 Aug 25 15:50 settings.py -rw-r--r-- 1 root root 2253 Aug 25 15:50 setup.py -rwxr-xr-x 1 root root 158 Aug 25 15:50 start.sh -rw-r--r-- 1 root root 607 Aug 25 15:50 teardown.py -rw-r--r-- 1 root root 5281 Aug 25 15:50 verify.py
The text was updated successfully, but these errors were encountered:
thekaveman
Successfully merging a pull request may close this issue.
Follow up to #123.
The
COPY
commands I added are adding all the files directly to the/home/calitp/app
directory, rather than copying the subdirectories.I discovered this while trying to test Benefits devcontainer against the published image, getting the following error:
This is because
start.sh
is sitting directly in/home/calitp/app
, not/home/calitp/app/bin
.Found out by opening
bash
inside the (Benefits version) of the server:Then listing the directory:
The text was updated successfully, but these errors were encountered: