minor port changes + add apache + vhosts

This commit is contained in:
Kishan Takoordyal
2021-02-12 10:35:11 +04:00
parent fbe9dceb89
commit 0588028b97
5 changed files with 41 additions and 3 deletions

View File

@@ -46,10 +46,19 @@ RUN deno upgrade && \
# Install code-server
RUN curl -fsSL https://code-server.dev/install.sh | sh
# Install other tools if needed
RUN apt update && \
apt install git nano apache2 -y && \
service apache2 start
# Enable Apache modules and restart apache
RUN a2enmod rewrite deflate proxy proxy_ajp proxy_http proxy_wstunnel && \
service apache2 restart
EXPOSE 80/tcp
EXPOSE 443/tcp
EXPOSE 3000/tcp
EXPOSE 20000/tcp
EXPOSE 21000/tcp
EXPOSE 9000/tcp
EXPOSE 8080/tcp
EXPOSE 8888/tcp