From dfeb511c1b2ba148362fe54277af1b2642678d1d Mon Sep 17 00:00:00 2001 From: Chris Parsons Date: Thu, 16 Oct 2025 08:51:33 -0700 Subject: [PATCH] fix: copy server directory instead of single server.js file in Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ece5e88..415210f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,11 +15,12 @@ WORKDIR /app RUN npm run build FROM node:20-alpine -COPY ./package.json package-lock.json server.js /app/ +COPY ./package.json package-lock.json /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