diff --git a/dockerfile b/dockerfile index 08dfef7..298e553 100644 --- a/dockerfile +++ b/dockerfile @@ -25,5 +25,8 @@ RUN pnpm build EXPOSE 3000 +# Ensure env exists (optional safety for containers) +RUN if [ ! -f .env ] && [ -f .env.example ]; then cp .env.example .env; fi + # Using the path confirmed in your previous logs CMD ["node", "dist/src/main.js"] \ No newline at end of file