Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Functional Programming
Diskuy-Backend
Commits
07cd023d
Commit
07cd023d
authored
Feb 21, 2021
by
Muhammad Rafif Elfazri
Browse files
Update template guide to build image and docker-compose
parent
2a4a975a
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
07cd023d
...
...
@@ -22,7 +22,7 @@ Sudah ready untuk dijalankan di production? Mohon [lihat deployment guide beriku
1.
Build Image dengan perintah berikujt
```
docker build -t diskuy
_
backend .```
```
docker build -t diskuy
-
backend .```
### Deploy Production
...
...
docker-compose.yml
View file @
07cd023d
...
...
@@ -8,8 +8,9 @@ networks:
attachable
:
true
# Needed in order to run custom commands in the container
services
:
app
:
diskuy-backend
:
image
:
diskuy-backend
container_name
:
diskuy-backend
ports
:
-
"
80:4000"
env_file
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment