made a lot of changes to accomodate running the same app for differnt projects.

This commit is contained in:
2020-04-24 10:43:33 -07:00
parent 206ed58eb9
commit 27e3c4e614
36 changed files with 897 additions and 121 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM openjdk:8-jre-slim
WORKDIR /app/streama
RUN apt-get -y update && \
apt-get -y install curl && \
apt-get -y clean && \
apt-get -y autoremove && \
URL_DOWNLOAD_LATEST_RELEASE=$(curl -L https://api.github.com/repos/streamaserver/streama/releases | grep -i browser_download_url | head -n 1 | cut -d '"' -f 4) && \
curl -o streama.jar -L $URL_DOWNLOAD_LATEST_RELEASE && \
chmod u+x streama.jar
EXPOSE 8080
ENTRYPOINT [ "java", "-jar", "streama.jar" ]