parent
70df62db1b
commit
d60e039c79
@ -1,9 +1,12 @@
|
||||
FROM postgres:latest
|
||||
|
||||
ENV POSTGRES_DB=big-brother
|
||||
ENV POSTGRES_PASSWORD=postgres
|
||||
|
||||
COPY init_db.py /docker-entrypoint-initdb.d/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y python3 && \
|
||||
apt install python3-psycopg2
|
||||
|
||||
EXPOSE 5432
|
||||
EXPOSE 5432
|
Loading…
Reference in new issue