robosats/nodeapp/Dockerfile

17 lines
380 B
Docker
Raw Normal View History

FROM node:18-bullseye-slim
RUN mkdir -p /usr/src/robosats
WORKDIR /usr/src/robosats
COPY . .
COPY ./nginx/local.conf /etc/nginx/conf.d/local.conf
RUN touch ./selfhosted
RUN apt-get update
2023-03-10 20:02:47 +03:00
RUN apt-get install -y socat nginx curl
RUN npm install http-server
EXPOSE 12596
2023-03-10 20:02:47 +03:00
HEALTHCHECK CMD curl --fail http://localhost:12596/selfhosted || exit 1
CMD ["bash", "robosats-client.sh"]