-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[馃悰] Docker Image: Placing images in /app/public/images does not work. #1236
Comments
If you want to deliver the product images withing the Docker image instead of having them downloaded from some URL, here's a straightforward
|
Ah, I see the problem now: You need to put the images into |
It actually is up to date in https://github.com/bkimminich/pwning-juice-shop/blob/master/part1/customization.md but for some reasons not on @GitbookIO at https://bkimminich.gitbooks.io/pwning-owasp-juice-shop/content/part1/customization.html ... |
Oh brilliant, now it updated when I started setting up an independent hosted web version of the book at http://pwning.owasp-juice.shop |
This thread has been automatically locked because it has not had recent activity after it was closed. 馃敀 Please open a new issue for regressions or related bugs. |
馃悰 Bug report
Description
Per the customization document:
Unfortunately, the Docker Image does not seem to pick up images if I mount a local volume to
/app/public/images
in the container. (i.e.docker run -V /data/juice-shop/images:/app/public/images bkimminich/juice-shop
)Is this a regression?
Unknown.
馃敩 Minimal Reproduction
Create
my_test_image.jpg
in/data/juice-shop/images
locally. Create/data/juice-shop/test.yml
containing:Then run:
docker run -V /data/juice-shop/images:/app/public/images -V /data/juice-shop/test.yml:/juice-shop/config/test.yml -E NODE_ENV=test bkimminich/juice-shop
According to docs,
my_test_image.jpg
should now be the image for Orange Juice, but instead there will be no image.馃敟 Exception or Error
No error.
馃尦 Your Environment
docker-hub latest image
Additional Information
I haven't had a chance to dig into this yet, ended up working around by using image URLs, but figured I'd open a bug in case it's an easy fix for someone who is more familiar with the codebase.
The text was updated successfully, but these errors were encountered: