Skip to content

Commit

Permalink
Mise à jour du 25/09/2024
Browse files Browse the repository at this point in the history
  • Loading branch information
Soumaya-JE authored Sep 25, 2024
1 parent b8aede7 commit c69bae9
Show file tree
Hide file tree
Showing 4 changed files with 50,149 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/app/postgre_db_service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
FROM postgres:13

# Définir les variables d'environnement pour PostgreSQL
ENV POSTGRES_DB=accidents
ENV POSTGRES_USER=my_user
ENV POSTGRES_PASSWORD=your_password

# Copier le fichier CSV et le script SQL dans le répertoire d'initialisation de PostgreSQL
COPY ./data_2005a2021_final.csv /docker-entrypoint-initdb.d/data_2005a2021_final.csv
COPY ./init.sql /docker-entrypoint-initdb.d/init.sql
# Récupérer et afficher les résultats
Loading

0 comments on commit c69bae9

Please sign in to comment.