Hi,
I#m currently trying to build and containerize my app using docker which works to a certain degree, that is building the app itself. But moving my executable into the docker task seems to be impossible at this stage.
Setup:
workspace:
base: /app....
Code get compiled to /app/build/web and then:
container:
image: plugins/docker
repo: [...]
tag: latest
dockerfile: WebApp/Dockerfile
Dockerfile:
[...]
COPY /app/build/web /var/www
[...]
Results in:
COPY failed: stat /var/lib/docker/tmp/docker-builder322485274/app/build/web: no such file or directory
time="2018-05-01T20:33:48Z" level=fatal msg="exit status 1"
/app/build/web does exist but seems to be completely inaccessible from the docker plugin. So I’m just wondering if my diagnosis is accurate or if there is actually a way to access /app.