From 397e9bdd41d2c29e869043c09c45c76d9a8096a4 Mon Sep 17 00:00:00 2001 From: JangAyeon <67853616+JangAyeon@users.noreply.github.com> Date: Mon, 15 Apr 2024 04:53:48 +0900 Subject: [PATCH] add tag to default --- Dockerfile | 15 +++++++++++++++ docker-compose.yml | 10 ---------- 2 files changed, 15 insertions(+), 10 deletions(-) delete mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile index 611f28c..9a31289 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,21 @@ FROM node:20-alpine ARG DISCORD_TOKEN ENV DISCORD_TOKEN=${DISCORD_TOKEN} +ARG VOICE_CHANNEL +ENV VOICE_CHANNEL=${VOICE_CHANNEL} + +ARG DISCORD_CLIENT_ID +ENV DISCORD_CLIENT_ID=${DISCORD_CLIENT_ID} + +ARG DISCORD_SERVER_ID +ENV DISCORD_SERVER_ID=${DISCORD_SERVER_ID} + +ARG SUPABASE_URL +ENV SUPABASE_URL=${SUPABASE_URL} + +ARG SUPABASE_API_KEY +ENV SUPABASE_API_KEY=${SUPABASE_API_KEY} + ## set working directory WORKDIR /usr/src/app diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index d9246b0..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,10 +0,0 @@ -version: "3" -services: - discord-study-v2: - image: discord-study-v2 - container_name: discord-study-v2 - build: - context: . - dockerfile: Dockerfile - env_file: - - .env