feat(compose): mount html inside docker-compose instead of building image
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
1 parent
bc43e25e97
commit
844045de11
3 files changed
+3
-25
No files matched your search
+3
-3
@@ -3,8 +3,8 @@ version: "3.3"
|
||||
services:
|
||||
nginx:
|
||||
restart: always
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: nginx:1.21.4
|
||||
ports:
|
||||
- "8000:80"
|
||||
volumes:
|
||||
- ./html:/usr/share/nginx/html
|
||||