Added headercheckproxy to the container.

What a peice of shit I've turned this into
This commit is contained in:
Cronocide 2024-11-07 13:15:09 -07:00
parent c15bbec6e2
commit 925813e961
Signed by: Cronocide
GPG Key ID: 1CADA052F64664EC

View File

@ -2,7 +2,7 @@
FROM node:21-slim
# Install nginx
RUN apt-get update && apt-get install -y nginx
RUN apt-get update && apt-get install -y nginx wget python3 python3-pip
ARG BUILD_DATE
@ -15,6 +15,8 @@ LABEL \
WORKDIR /app
RUN pip3 install --break-system-packages https://git.cronocide.net/Cronocide/headercheckdashboardproxy/archive/master.zip
COPY package.json .
RUN npm i
@ -41,4 +43,4 @@ EXPOSE 4173
RUN chmod +x /app/docker-entrypoint.sh
ENTRYPOINT ["/app/docker-entrypoint.sh"]
CMD ["sh", "-c", "npm run build && nginx -g 'daemon off;'"]
CMD ["sh", "-c", "npm run build && nginx -g 'daemon off;'"]