bank_customer / Dockerfile
tom1669's picture
Dockerfile
6e5fe6d verified
raw
history blame contribute delete
364 Bytes
# Use PostgreSQL 17beta2-bullseye image
FROM postgres:17beta2-bullseye
# Set environment variables
ENV POSTGRES_DB=mydb
ENV POSTGRES_USER=myuser
ENV POSTGRES_PASSWORD=mypassword
# Copy CSV files to the container
COPY *.csv /tmp/
# Copy SQL script to create tables and import data
COPY init.sql /docker-entrypoint-initdb.d/
# Expose PostgreSQL port
EXPOSE 5432