FROM postgres:16 LABEL authors="humanlearning" ENV POSTGRES_PASSWORD="1234" \ # 필수 환경변수라 run할때마다 붙혀주기 귀찮아 Dockerfile에 일단 포함시켜놓았다 POSTGRES_USER="postgres" \ POSTGRES_DB="postgres" WORKDIR /usr/src/app #COPY create_dw_table.sql create_dw_table.sql RUN apt-get update -y && \ apt-get install vim sudo procps -y USER postgres RUN pg_createcluster 16 main &&\ /etc/init.d/postgresql start &&\ psql -U po..