mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-28 06:44:40 +03:00
17 lines
380 B
Docker
17 lines
380 B
Docker
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
|
|
RUN apt-get install -y socat nginx curl
|
|
RUN npm install http-server
|
|
|
|
EXPOSE 12596
|
|
HEALTHCHECK CMD curl --fail http://localhost:12596/selfhosted || exit 1
|
|
|
|
CMD ["bash", "robosats-client.sh"] |