clearing/clr_test/db-updater/Dockerfile
Ivan Nikolaev-Axenov 0be34689ec debug fix v6
2025-05-30 13:18:37 +03:00

7 lines
No EOL
230 B
Docker

FROM alpine
ADD combined_update_ddl.sql /init.sql
RUN apk add --update --no-cache postgresql-client
CMD [ "sh", "-c", "ls -la && psql --version && psql -U clearing -h db -p 5432 -d clearing -f ./init.sql && tail -f /dev/null" ]