fTxUser
fTxUser
Explore posts from servers
RRailway
Created by fTxUser on 8/15/2024 in #✋|help
Payload-CMS and Railway
hey there, I've created a new postgres db on railway, installed payload-cms locally and used the DATABASE_PUBLIC_URI string to connect from the blank install to my db. which worked yay but I've now for the first time tried to use the Railway CLI and tried to get that local empty Payload-CMS project into the same Project/enviorment that my postgres db is on Railway. created an empty service online first, an then tried railway link -> picked the project - > picked the empty service and then railway up. and got "Build failed: : Failed to build an image. If this error persists, please contact Railway support." wondering what I'm doing wrong here. Log says: Dockerfile:19 ------------------- 17 | WORKDIR /home/node/app 18 | COPY package*.json ./ 19 | >>> COPY yarn.lock ./ 20 | 21 | RUN yarn install --production ------------------- ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"/yarn.lock": not found xed out the number since I#ve no clue what I should share or not hehe
18 replies