Build cache deploying old/removed Dockerfile commands — cannot clear
sander-sandman
HOBBYOP

18 days ago

My service is deploying a cached Dockerfile with phantom commands that were removed from the repo weeks ago. Build logs show:

[7/11] RUN groupadd -r signetra && useradd -r -g signetra signetra

[10/11] RUN chown -R signetra:signetra /app /app/data

These commands do NOT exist in my current Dockerfile or anywhere in the repository. The result: Playwright browsers install as root but the app runs as the phantom "signetra" user, causing permission failures.

What I've tried:

- Completely rewrote the Dockerfile 5+ times

- Multiple railway up --detach and railway redeploy --yes

- Unlinked and relinked the service

- Added railway.json with nocache settings

- Nothing clears the cached layers

Project ID: 8d1dea14-c460-4e3f-adae-8f09982d9bfd

Service ID: 4aa5c31b-306b-4035-8ad8-f066490c5f9c

Environment: production

Repo: https://github.com/sander-sandman/signetra

Request: Please clear the Docker build cache for this service so it rebuilds from the current Dockerfile.

$10 Bounty

0 Replies

Status changed to Awaiting Railway Response Railway 18 days ago


Loading...