Closed ghost closed 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.
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.
COPY takes a
src
anddest
, wheredest
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
.