mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 23:43:22 +00:00
feat: Dockerisation d'un serveur docuseal + initialisation d'un compte
par défaut
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
FROM postgres:latest
|
||||
|
||||
# Installer curl
|
||||
RUN apt-get update && apt-get install -y curl ruby ruby-dev build-essential
|
||||
RUN gem install bcrypt
|
||||
|
||||
# Copier le script d'initialisation
|
||||
COPY initDocusealUsers.sh /docker-entrypoint-initdb.d/initDocusealUsers.sh
|
||||
|
||||
# Donner les permissions d'exécution au script
|
||||
RUN chmod +x /docker-entrypoint-initdb.d/initDocusealUsers.sh
|
||||
|
||||
# Commande par défaut pour démarrer le conteneur
|
||||
ENTRYPOINT ["/bin/bash", "/docker-entrypoint-initdb.d/initDocusealUsers.sh"]
|
||||
Reference in New Issue
Block a user