forked from carrydela/Rs_blog_front
first commit
This commit is contained in:
17
docker-compose.yml
Normal file
17
docker-compose.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
blog-frontend:
|
||||
container_name: blog-frontend
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
# REPLACE THIS with your actual backend URL (e.g., https://api.yourdomain.com)
|
||||
# Since this is a client-side var, it cannot be "localhost" if accessed from outside the server.
|
||||
NEXT_PUBLIC_API_URL: http://127.0.0.1:8765
|
||||
restart: always
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
Reference in New Issue
Block a user