diff --git a/Dockerfile b/Dockerfile index d845bac0..ddf6d9d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM node:latest +RUN apt-get update && apt-get -y install dos2unix + WORKDIR /opt/magic_mirror COPY . . COPY /modules unmount_modules @@ -9,6 +11,8 @@ ENV NODE_ENV production ENV MM_PORT 8080 RUN npm install + +RUN ["dos2unix", "docker-entrypoint.sh"] RUN ["chmod", "+x", "docker-entrypoint.sh"] EXPOSE $MM_PORT