CoolFace
Apppublic

Anuj-Panthri/mlops_postgres

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
Dockerfile16 linesDownload Raw Back to root
1FROM postgres2 3# RUN useradd -m -u 1000 postgres4 5WORKDIR /app6 7USER root8 9RUN id -u postgres10RUN usermod -u 1000 postgres11RUN mkdir -p /var/lib/postgresql/data && chown -R postgres:postgres /var/lib/postgresql/data12RUN id -u postgres13 14USER postgres15 16EXPOSE 5432