ficusio / openresty

Lightweight OpenResty Docker image
132 stars 37 forks source link

Update Dockerfile #2

Closed ghost closed 9 years ago

ghost commented 9 years ago

COPY takes a src and dest, where dest must be an absolute location.

docker run fails (error cannot find /opt/openresty/nginx/conf/nginx.conf) unless you specify that ./nginx should be copied to /opt/openresty/nginx.

skozin commented 9 years ago

Thank you! It was my mistake. I thought that Docker would respect paths relative to WORKDIR, but didn't check it properly.

ghost commented 9 years ago

No problem!

On Sun Feb 01 2015 at 3:44:02 PM Семён notifications@github.com wrote:

Thank you! It was my mistake. I thought that Docker would respect paths relative to WORKDIR, but didn't check it properly.

— Reply to this email directly or view it on GitHub https://github.com/ficusio/openresty/pull/2#issuecomment-72367331.