mirror of
https://github.com/PeterMaquiran/tvone-api.git
synced 2026-04-22 20:15:50 +00:00
fix env
This commit is contained in:
@@ -25,5 +25,8 @@ RUN pnpm build
|
|||||||
|
|
||||||
EXPOSE 3000
|
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
|
# Using the path confirmed in your previous logs
|
||||||
CMD ["node", "dist/src/main.js"]
|
CMD ["node", "dist/src/main.js"]
|
||||||
Reference in New Issue
Block a user