Added headercheckproxy to the container.
What a peice of shit I've turned this into
This commit is contained in:
parent
c15bbec6e2
commit
925813e961
@ -2,7 +2,7 @@
|
|||||||
FROM node:21-slim
|
FROM node:21-slim
|
||||||
|
|
||||||
# Install nginx
|
# 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
|
ARG BUILD_DATE
|
||||||
|
|
||||||
@ -15,6 +15,8 @@ LABEL \
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN pip3 install --break-system-packages https://git.cronocide.net/Cronocide/headercheckdashboardproxy/archive/master.zip
|
||||||
|
|
||||||
COPY package.json .
|
COPY package.json .
|
||||||
RUN npm i
|
RUN npm i
|
||||||
|
|
||||||
@ -41,4 +43,4 @@ EXPOSE 4173
|
|||||||
RUN chmod +x /app/docker-entrypoint.sh
|
RUN chmod +x /app/docker-entrypoint.sh
|
||||||
ENTRYPOINT ["/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;'"]
|
||||||
|
Loading…
Reference in New Issue
Block a user