Next.js+React web interface for controlling HAProxy clusters (groups of servers), in conjunction with with https://gitgud.io/fatchan/haproxy-protection.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
224 B

FROM node:latest
WORKDIR /opt
ENV NODE_ENV production
COPY package.json /opt/package.json
RUN npm install --omit=dev
COPY .env /opt/.env
COPY . /opt
RUN npm run build
RUN npx next telemetry disable
CMD ["npm","start"]