Skip to content

Commit

Permalink
Fix Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
meinname authored Sep 8, 2021
1 parent 63d46af commit 6e3d992
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ RUN apt-get update -yq && apt-get upgrade -yq && apt-get install -yq curl git na
RUN curl -sL https://deb.nodesource.com/setup_current.x | bash - && apt-get install -yq nodejs build-essential
WORKDIR /app
RUN apt-get install wget unzip -y
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
RUN wget $(curl -s https://api.github.com/repos/openbullet/OpenBullet2/releases/latest | grep 'browser_' | cut -d\" -f4)
RUN unzip OpenBullet2.zip
RUN cp -r ./OpenBullet2/* . && rm -rf ./OpenBullet2 && rm OpenBullet2.zip
RUN rm OpenBullet2.zip
EXPOSE 5000
CMD ["dotnet", "./OpenBullet2.dll", "--urls=http://*:5000"]

0 comments on commit 6e3d992

Please sign in to comment.