mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 15:33:22 +00:00
14 lines
489 B
Docker
14 lines
489 B
Docker
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"] |