Updating base image; fixing issues with quakejs clone; moving hosts mod to build

This commit is contained in:
Trey Yoder
2022-08-29 20:31:37 -04:00
parent bfe81143d2
commit 87a0ac3004
+2 -4
View File
@@ -1,4 +1,4 @@
FROM ubuntu:latest
FROM ubuntu:20.04
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=US/Eastern
@@ -10,7 +10,7 @@ RUN apt-get install sudo curl git nodejs npm jq apache2 wget apt-utils -y
RUN curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
RUN git clone --recurse-submodules https://github.com/begleysm/quakejs.git
RUN git clone --branch fix_module https://github.com/nerosketch/quakejs.git
WORKDIR /quakejs
RUN npm install
RUN ls
@@ -25,8 +25,6 @@ RUN rm /var/www/html/index.html && cp /quakejs/html/* /var/www/html/
COPY ./include/assets/ /var/www/html/assets
RUN ls /var/www/html
RUN echo "127.0.0.1 content.quakejs.com" >> /etc/hosts
WORKDIR /
ADD entrypoint.sh /entrypoint.sh
# Was having issues with Linux and Windows compatibility with chmod -x, but this seems to work in both