-
Notifications
You must be signed in to change notification settings - Fork 1.7k
v0.24.0 unable to sync files when a WORKDIR is specified #1721
Copy link
Copy link
Closed
Labels
Description
with v0.24.0 I'm unable to sync files when a WORKDIR is specified in the Dockerfile.
Dockerfile:
WORKDIR /code/server
before sync
root@foo-759646f7db-24rb6:/code/server# find / -name externalAPIS.js
/code/server/externalAPIS.js
after sync
root@foo-759646f7db-24rb6:/code/server# find / -name externalAPIS.js
/code/server/code/server/externalAPIS.js
/code/server/externalAPIS.js
This happens regardless of skaffold configuration:
sync:
'server/*.js': /code/server sync:
'server/*.js': .when I revert #1709 WORKDIR is ignored and I have to specify the full path in skaffold.yaml:
sync:
'server/*.js': /code/server
but it works.
related #1691
Reactions are currently unavailable