Build->deploy Process suddenly broke

i feel like you guys changed the way your containers are structured and it broke my build->deploy process lol. anyone know what might be wrong with my docker file i wrote a year ago?:
FROM node:19-bullseye-slim
RUN mkdir app
COPY . ./app
WORKDIR ./app/
RUN yarn global add pnpm
RUN pnpm install --D (all my packages manually here yeah ik cringe right?)
RUN pnpm build
EXPOSE 1337
FROM node:19-bullseye-slim
RUN mkdir app
COPY . ./app
WORKDIR ./app/
RUN yarn global add pnpm
RUN pnpm install --D (all my packages manually here yeah ik cringe right?)
RUN pnpm build
EXPOSE 1337
8 Replies
Percy
Percy14mo ago
Project ID: N/A
Tiber, Se Ruler of Had Matters
N/A Note to self: set workdir first
Brody
Brody14mo ago
does your code need node 19?
Tiber, Se Ruler of Had Matters
Not that I can recall Also the problem is that during deploy I guess my packages aren't recognized
Brody
Brody14mo ago
im gonna have you try to deploy without a dockerfile
Tiber, Se Ruler of Had Matters
I did that weird hacky copying/moving dirs because that was the only way everything worked at the time lol With a railway toml? When I build and serve locally it works just fine. Although I never tried doing docker locally
Brody
Brody14mo ago
with no config of any kind start fresh and see what happens
Tiber, Se Ruler of Had Matters
Alright, will have to do that when I get back home
Want results from more Discord servers?
Add your server