-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
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
Using testcontainers in a fsx script gives wrong output #897
Comments
Thanks for having a look.
Building the image and running it with this command:
I can access the result on http://localhost:8000/minimal.html and get this: |
Could you try |
I tried with |
Oh, I see what you are doing now. |
Adding the value for the After experimenting a bit, I see what I was doing 'wrong'. However, I don't understand the default value of the root parameter, which leads to paths like Not a big deal as it's working for me, just curious ;-) Just for future readers, here's the fixed Dockerfile (including fixing the change of work directory). But note that in the end I went for a root parameter
|
I agree that the default value is a bit weird here. We should document the |
Putting this fsx in the docs directory:
and then running
fsdocs build
gives a page with content about test containers:It can be reproduced on linux with these commands:
and access http://localhost:8000/minimal.html
Some more information:
The text was updated successfully, but these errors were encountered: