diff --git a/Dockerfile b/Dockerfile index a9a5229..6dc6105 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,13 +3,12 @@ RUN mkdir -p /opt/wizarr-notify/templates WORKDIR /opt/wizarr-notify +COPY package.json package-lock.json index.js ./ +COPY default_templates default_templates +COPY views views +RUN npm i + EXPOSE 80 VOLUME /opt/wizarr-notify/templates CMD node index.js - -COPY package.json package-lock.json ./ -RUN npm i - -COPY index.js ./ -COPY default_templates default_templates diff --git a/Dockerfile b/Dockerfile index a9a5229..6dc6105 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,13 +3,12 @@ RUN mkdir -p /opt/wizarr-notify/templates WORKDIR /opt/wizarr-notify +COPY package.json package-lock.json index.js ./ +COPY default_templates default_templates +COPY views views +RUN npm i + EXPOSE 80 VOLUME /opt/wizarr-notify/templates CMD node index.js - -COPY package.json package-lock.json ./ -RUN npm i - -COPY index.js ./ -COPY default_templates default_templates diff --git a/build.sh b/build.sh index 817d24c..7974638 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash -docker build -t wizarr-notify . \ No newline at end of file +docker build -t wizarr-notify:latest .