diff --git a/Dockerfile b/Dockerfile index 5cee32b..6684172 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,11 +25,15 @@ RUN apt-get -y update && apt-get install -y --fix-missing \ RUN apt-get clean RUN rm -rf /tmp/* /var/tmp/* ENV CFLAGS=-static +# Install dos2unix +RUN apt-get install -y dos2unix # Upgrade pip RUN pip3 install --upgrade pip # Copy directory to container WORKDIR /app COPY . ./ +# Run dos2unix on all files in /app +RUN dos2unix /app/* # Install from requirements.txt RUN pip3 install -r requirements.txt # Install wait-for-it so this can easily be used with docker-compose