diff --git a/Dockerfile b/Dockerfile index 415210f..ece5e88 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,12 +15,11 @@ WORKDIR /app RUN npm run build FROM node:20-alpine -COPY ./package.json package-lock.json /app/ +COPY ./package.json package-lock.json server.js /app/ COPY --from=production-dependencies-env /app/node_modules /app/node_modules COPY --from=build-env /app/build /app/build COPY ./drizzle /app/drizzle COPY ./drizzle.config.ts /app/drizzle.config.ts COPY ./database /app/database -COPY ./server /app/server WORKDIR /app CMD ["npm", "run", "start:production"] \ No newline at end of file diff --git a/tsconfig.node.json b/tsconfig.node.json index afaea84..a717121 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -4,7 +4,8 @@ "server/**/*.ts", "vite.config.ts", "database/**/*.ts", - "app/contexts/**/*.ts" + "app/contexts/**/*.ts", + "app/models/**/*.ts" ], "compilerOptions": { "composite": true,