From 4555e4b3ef8a092b1a67d849293ea4bc9ef0df9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=8E=E5=A3=B0?= Date: Thu, 19 Sep 2024 19:06:31 +0800 Subject: [PATCH] chore: remove dockerfile --- Dockerfile | 20 -------------------- docker-compose.yml | 7 ------- 2 files changed, 27 deletions(-) delete mode 100644 Dockerfile delete mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 260433dd..00000000 --- a/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -# syntax=docker/dockerfile:1 -FROM node:18-slim AS deps - -WORKDIR /app -COPY package.json yarn.lock ./ -RUN yarn install -COPY . /app -RUN yarn build:node - -FROM node:18-slim AS runner -WORKDIR /app - -COPY --from=deps /app/dist/node/ . - -ENV NODE_ENV production - -ENV PORT 8080 -EXPOSE 8080 - -CMD [ "node", "index.js" ] diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 0d6abd51..00000000 --- a/docker-compose.yml +++ /dev/null @@ -1,7 +0,0 @@ -version: '3.0' -services: - bot: - build: . - ports: - - '9099:8080' - env_file: .env