From 471bd05ae6dec0b44c27aaabf3679f13e4163566 Mon Sep 17 00:00:00 2001 From: Sistav <212277883+Sistav@users.noreply.github.com> Date: Sun, 3 May 2026 23:06:40 -0400 Subject: [PATCH] Remove compose --- Dockerfile | 2 -- docker-compose.yml | 17 ----------------- example.env | 7 +++++++ 3 files changed, 7 insertions(+), 19 deletions(-) delete mode 100644 docker-compose.yml create mode 100644 example.env diff --git a/Dockerfile b/Dockerfile index 8da32cd..5cf197f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,3 @@ -# Stage 1: Build the React client FROM node:20-alpine AS builder WORKDIR /app/client COPY client/package*.json ./ @@ -6,7 +5,6 @@ RUN npm install COPY client/ ./ RUN npm run build -# Stage 2: Run the server FROM node:20-alpine WORKDIR /app/server COPY server/package*.json ./ diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 9044d68..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,17 +0,0 @@ -services: - monkeys: - build: . - container_name: monkeys-app - ports: - - "3000:3000" - volumes: - - ./data:/app/server/data - environment: - - PORT=3000 - - DB_PATH=/app/server/data/monkey.db - - LETTERS_CACHE_SIZE=1000 - - LETTER_GENERATION_INTERVAL=800 - - MAX_SUBMISSIONS_PER_HOUR=1 - - MAX_UPVOTES_PER_DAY=10 - - LOG_LETTERS=false - restart: unless-stopped diff --git a/example.env b/example.env new file mode 100644 index 0000000..ae03e6d --- /dev/null +++ b/example.env @@ -0,0 +1,7 @@ +PORT=3000 +DB_PATH=/app/server/data/monkey.db +LETTERS_CACHE_SIZE=1000 +LETTER_GENERATION_INTERVAL=800 +MAX_SUBMISSIONS_PER_HOUR=1 +MAX_UPVOTES_PER_DAY=10 +LOG_LETTERS=false