change line endings to linux. the other way was not wokring consistantly

This commit is contained in:
dataman 2023-05-06 13:23:28 -06:00 committed by Gabriel Luiz Freitas Almeida
commit 67db4ba69c

View file

@ -15,7 +15,10 @@ WORKDIR /home/node/app
COPY --chown=node:node . ./
COPY ./set_proxy.sh .
RUN chmod +x set_proxy.sh && ./set_proxy.sh
RUN chmod +x set_proxy.sh && \
cat set_proxy.sh | tr -d '\r' > set_proxy_unix.sh && \
chmod +x set_proxy_unix.sh && \
./set_proxy_unix.sh
USER node