fix: make env dynamic

This commit is contained in:
Rotimi Best
2024-09-20 11:16:19 +01:00
parent 4199fce976
commit 2a50b22ad2
12 changed files with 41 additions and 43 deletions
+2 -4
View File
@@ -1,5 +1,3 @@
FROM node:18
WORKDIR "/app"
@@ -15,11 +13,11 @@ COPY . /app/
WORKDIR "/app/apps/dashboard"
RUN pnpm i --frozen-lockfile
RUN pnpm i --frozen-lockfile
RUN pnpm prepare
RUN pnpm build
EXPOSE 5000
CMD ["ls", "-la"]
CMD ["pnpm", "start"]
# CMD [ "sh", "-c", "ls -la && cd apps/dashboard && pnpm build && pnpm start" ]