From 018d328a2790e262ba080fc8258646fee6976f42 Mon Sep 17 00:00:00 2001 From: Ashesh Singh Date: Thu, 22 Jun 2023 09:15:51 -0500 Subject: [PATCH] chore: update docker command --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fb7256c..78ce3cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ COPY . ./ RUN npm run build RUN node --experimental-modules --experimental-specifier-resolution=node --loader ts-node/esm ./node_modules/.bin/mikro-orm migration:up -CMD ["sh", "-c", "npx vite preview --host 0.0.0.0 --port 3000"] +CMD ["sh", "-c", "node -r dotenv-expand/config ./build"]