Преглед на файлове

updated entrypoint locations

Natan преди 1 година
родител
ревизия
a71742ce11
променени са 1 файла, в които са добавени 4 реда и са изтрити 3 реда
  1. 4 3
      release.dockerfile

+ 4 - 3
release.dockerfile

@@ -10,9 +10,10 @@ WORKDIR /app
 COPY main.py README.md prometheus.py ./
 COPY examples ./examples
 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
 
-ENTRYPOINT ["/app/docker-entrypoint.sh"]
+ENTRYPOINT ["/resources/docker-entrypoint.sh"]