fix: coolify not finding root project

This commit is contained in:
Rotimi Best
2024-09-19 11:01:56 +01:00
parent e097474b06
commit 5438d9acf1
4 changed files with 32 additions and 13 deletions
+20
View File
@@ -0,0 +1,20 @@
FROM node:18
WORKDIR "/app"
RUN npm install -g pnpm
COPY ./package.json ./
COPY ./pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY . /app/
CMD [ "ls", "-la" ]
CMD [ "cd", "apps/dashboard" ]
CMD [ "pnpm", "build" ]
EXPOSE 5000
CMD [ "pnpm", "start" ]