aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile25
1 files changed, 0 insertions, 25 deletions
diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index b62d30e..0000000
--- a/Dockerfile
+++ /dev/null
@@ -1,25 +0,0 @@
-FROM node:15-alpine AS deps
-
-RUN apk add --no-cache libc6-compat
-WORKDIR /app
-COPY package.json package-lock.json ./
-RUN npm ci --only-prod
-
-FROM node:15-alpine as builder
-
-WORKDIR /app
-COPY . .
-COPY --from=deps /app/node_modules ./node_modules
-RUN npm run build
-
-FROM node:15-alpine as runner
-
-WORKDIR /app
-EXPOSE 3000
-ENV NODE_ENV production
-COPY --from=builder /app/build ./build
-COPY --from=builder /app/node_modules ./node_modules
-COPY --from=builder /app/package.json ./package.json
-COPY ./sql ./sql
-
-CMD ["npm", "run", "start"]