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:
parent
bc43e25e97
commit
844045de11
15
.drone.yml
15
.drone.yml
@ -1,15 +0,0 @@
|
||||
kind: pipeline
|
||||
name: build
|
||||
|
||||
steps:
|
||||
- name: publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: turboregistry:5000/juju/juju.re
|
||||
tags: latest
|
||||
insecure: true
|
||||
registry: turboregistry:5000
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
@ -1,7 +0,0 @@
|
||||
FROM nginx:1.21.4
|
||||
|
||||
LABEL maintainer="Julien CLEMENT <julien.clement@epita.fr>"
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
COPY html /usr/share/nginx/html
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user