Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
49e10b2
commit 74001db
Showing
4 changed files
with
25 additions
and
27 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM nginx:1.17.9 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y curl wget && \ | ||
apt-get clean && \ | ||
apt-get autoclean && \ | ||
rm -Rf /tmp/* && \ | ||
rm -Rf /var/lib/apt/lists/* | ||
|
||
# Install openvidu-call | ||
RUN mkdir -p /var/www/openvidu-call && \ | ||
wget -L -O /var/www/openvidu-call/openvidu-call.tar.gz \ | ||
"https://github.com/OpenVidu/openvidu-call/releases/download/v2.12.0/openvidu-call-2.12.0.tar.gz" && \ | ||
tar zxf /var/www/openvidu-call/openvidu-call.tar.gz -C /var/www/openvidu-call && \ | ||
chown -R www-data:www-data /var/www/openvidu-call && \ | ||
rm /var/www/openvidu-call/openvidu-call.tar.gz | ||
|
||
# Nginx conf | ||
COPY ./openvidu-call.conf /etc/nginx/conf.d/default.conf | ||
|
||
# Entrypoint | ||
COPY ./entrypoint.sh /usr/local/bin | ||
RUN chmod +x /usr/local/bin/entrypoint.sh | ||
|
||
CMD /usr/local/bin/entrypoint.sh |
File renamed without changes.
File renamed without changes.