2023-05-11 16:22:01 +00:00
|
|
|
FROM alpine:3.18.0
|
2022-08-22 16:51:23 +00:00
|
|
|
|
|
|
|
RUN mkdir -p /usr/src/robosats
|
|
|
|
WORKDIR /usr/src/robosats
|
|
|
|
|
|
|
|
COPY . .
|
2023-05-11 16:22:01 +00:00
|
|
|
COPY ./nginx.conf /etc/nginx/nginx.conf
|
2022-08-22 16:51:23 +00:00
|
|
|
|
2023-05-11 16:22:01 +00:00
|
|
|
RUN apk -U --no-cache upgrade \
|
|
|
|
&& apk --no-cache add socat \
|
|
|
|
&& apk --no-cache add nginx
|
2022-08-22 16:51:23 +00:00
|
|
|
|
|
|
|
EXPOSE 12596
|
2023-03-10 17:02:47 +00:00
|
|
|
HEALTHCHECK CMD curl --fail http://localhost:12596/selfhosted || exit 1
|
2022-08-22 16:51:23 +00:00
|
|
|
|
2023-05-11 16:22:01 +00:00
|
|
|
CMD ["sh", "robosats-client.sh"]
|