create temporary postgres server in docker
I want to unit-test my app which uses a postgres database inside a docker. EDIT: based on the suggested answer I modified the Dockerfile: FROM postgres USER postgres RUN sleep 2 # remark 1 RUN initdb # remark 2 RUN…