From 2a1bdd51637185553c370b5612c2f93a16a9ae02 Mon Sep 17 00:00:00 2001 From: Chris Miller Date: Mon, 18 Dec 2023 22:19:28 -0800 Subject: [PATCH] resolve new format in container --- api/Dockerfile | 3 +-- api/migrate.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/api/Dockerfile b/api/Dockerfile index 8c8aa403..602081ed 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -16,7 +16,6 @@ ADD yarn.lock . ADD api/package.json . ADD api/migrate.sh . ADD api/migration.config.mjs . -ADD api/migrations . ENV NODE_ENV production @@ -24,4 +23,4 @@ RUN yarn install && yarn cache clean COPY --from=builder /build/api/dist /app -CMD [ "node", "main.js" ] \ No newline at end of file +CMD [ "node", "src/main.js" ] \ No newline at end of file diff --git a/api/migrate.sh b/api/migrate.sh index eb6379f3..488a1c8c 100755 --- a/api/migrate.sh +++ b/api/migrate.sh @@ -1,3 +1,3 @@ #!/usr/bin/env sh -yarn typeorm-ts-node-esm migration:run -- -d migration.config.mjs \ No newline at end of file +yarn typeorm migration:run -- -d migration.config.mjs \ No newline at end of file