Browse Source

updated entrypoint locations

Natan 1 year ago
parent
commit
a71742ce11
1 changed files with 4 additions and 3 deletions
  1. 4 3
      release.dockerfile

+ 4 - 3
release.dockerfile

@@ -10,9 +10,10 @@ WORKDIR /app
 COPY main.py README.md prometheus.py ./
 COPY main.py README.md prometheus.py ./
 COPY examples ./examples
 COPY examples ./examples
 COPY website ./website
 COPY website ./website
-COPY release/docker-entrypoint.sh ./
-RUN chmod 777 docker-entrypoint.sh
+RUN mkdir /resources
+COPY docker-entrypoint.sh /resources
+RUN chmod 777 /resources/docker-entrypoint.sh
 
 
 EXPOSE 8080
 EXPOSE 8080
 
 
-ENTRYPOINT ["/app/docker-entrypoint.sh"]
+ENTRYPOINT ["/resources/docker-entrypoint.sh"]