Fakultas Ilmu Komputer UI

Commit 07cd023d authored by Muhammad Rafif Elfazri's avatar Muhammad Rafif Elfazri
Browse files

Update template guide to build image and docker-compose

parent 2a4a975a
...@@ -22,7 +22,7 @@ Sudah ready untuk dijalankan di production? Mohon [lihat deployment guide beriku ...@@ -22,7 +22,7 @@ Sudah ready untuk dijalankan di production? Mohon [lihat deployment guide beriku
1. Build Image dengan perintah berikujt 1. Build Image dengan perintah berikujt
```docker build -t diskuy_backend .``` ```docker build -t diskuy-backend .```
### Deploy Production ### Deploy Production
......
...@@ -8,8 +8,9 @@ networks: ...@@ -8,8 +8,9 @@ networks:
attachable: true # Needed in order to run custom commands in the container attachable: true # Needed in order to run custom commands in the container
services: services:
app: diskuy-backend:
image: diskuy-backend image: diskuy-backend
container_name: diskuy-backend
ports: ports:
- "80:4000" - "80:4000"
env_file: env_file:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment