debug fix v13

This commit is contained in:
Ivan Nikolaev-Axenov 2025-05-30 16:38:37 +03:00
parent 3fa6fe0760
commit 7f72221586

View file

@ -1,14 +1,10 @@
FROM debian
FROM alpine
WORKDIR /opt
ADD combined_update_ddl.sql /init.sql
ADD init.sh /init.sh
ADD combined_update_ddl.sql init.sql
ADD init.sh init.sh
USER root
RUN apt update && apt install postgresql-client -y
RUN chmod +x init.sql
RUN apk add --update --no-cache postgresql-client
RUN chmod +x init.sh
RUN find . -name "*.sh" | xargs sed -i 's/\r$//'
CMD [ "./init.sh" ]
ENTRYPOINT [ "./init.sh" ]