diff --git a/Dockerfile b/Dockerfile index 8c496a0..4acb918 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,4 @@ COPY . . EXPOSE 4000 -CMD ["npx", "mikro-orm-esm", "migration:up"] - -CMD ["npm", "run", "start"] \ No newline at end of file +CMD npx mikro-orm-esm migration:up && npm run start \ No newline at end of file