run dos2unix on files
-FROM python:3.9-bullseye
+FROM python:3.9-bullseye as builder
RUN pip install flask_jwt_extended Flask python-dotenv
RUN apt-get update && apt-get install -y libhyperscan5 libpq-dev gunicorn3
+RUN apt-get install -y dos2unix
# Don't verify ssl for github enterprise
RUN git config --global http.sslverify false
@@ -18,5 +19,7 @@ ARG SSL_private_key
COPY . /credential-digger-ui
WORKDIR /credential-digger-ui/
+RUN find . -type f -print0 | xargs -0 dos2unix
+
RUN chmod +x run.sh
CMD [ "./run.sh" ]
