website refactoring #7

Merged
boom merged 25 commits from dev into production 2025-06-28 14:05:50 +02:00
2 changed files with 2 additions and 5 deletions
Showing only changes of commit 3482c1c3f2 - Show all commits

View File

@@ -22,8 +22,8 @@ services:
container_name: frontend container_name: frontend
volumes: volumes:
- ./frontend.env:/app/.env # Mount it as .env at runtime - ./frontend.env:/app/.env # Mount it as .env at runtime
env_file: # env_file:
- ./frontend.env # - ./frontend.env
ports: ports:
- "5100:3000" - "5100:3000"
restart: on-failure restart: on-failure

View File

@@ -13,9 +13,6 @@ RUN npm ci
# Copy entire project # Copy entire project
COPY . . COPY . .
# Create a .env file before build
RUN echo "NEXT_PUBLIC_HCAPTCHA_SITE_KEY=$HCAPTCHA_SITE_KEY" > .env
# Build the Next.js app # Build the Next.js app
RUN npm run build RUN npm run build