From 447c86f1c9f97170adb8796865b52518eb2976c2 Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Wed, 28 Jun 2023 15:45:54 +0200 Subject: [PATCH] chore: remove backend Dockerfile --- backend/Dockerfile | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 backend/Dockerfile diff --git a/backend/Dockerfile b/backend/Dockerfile deleted file mode 100644 index 3378ef62..00000000 --- a/backend/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -FROM node:18 AS deps -WORKDIR /opt/app -COPY package.json package-lock.json ./ -COPY prisma ./prisma -RUN npm ci -RUN npx prisma generate - - -FROM node:18 As build -WORKDIR /opt/app -COPY . . -COPY --from=deps /opt/app/node_modules ./node_modules -RUN npm run build - - -FROM node:18 As runner -WORKDIR /opt/app -COPY --from=build /opt/app/node_modules ./node_modules -COPY --from=build /opt/app/dist ./dist -COPY --from=build /opt/app/prisma ./prisma -COPY --from=deps /opt/app/package.json ./ -CMD npm run prod