Téléverser les fichiers vers "/"
This commit is contained in:
parent
31301f948c
commit
8dcf94a610
20
.drone.yaml
Normal file
20
.drone.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: Build & publish docker image
|
||||
|
||||
steps:
|
||||
- name: publish-image
|
||||
pull: always
|
||||
image: plugins/kaniko:1.7.1-kaniko1.9.1
|
||||
settings:
|
||||
tags: ${DRONE_TAG##v}
|
||||
registry: code.groupe-genes.fr
|
||||
repo: code.groupe-genes.fr/labeds/cours_nunez
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
8
Dockerfile
Normal file
8
Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
FROM ubuntu:22.04
|
||||
|
||||
RUN apt-get update && apt-get -y install python3-pip git libpq-dev
|
||||
ADD . /opt/otree
|
||||
WORKDIR /opt/otree
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
CMD ["otree", "prodserver", "8000"]
|
Loading…
Reference in New Issue
Block a user