mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 19:06:26 +00:00
2092a33f88
* Simplify and optimize nodeapp * Add pro frontend
16 lines
345 B
Docker
16 lines
345 B
Docker
FROM alpine:3.18.0
|
|
|
|
RUN mkdir -p /usr/src/robosats
|
|
WORKDIR /usr/src/robosats
|
|
|
|
COPY . .
|
|
COPY ./nginx.conf /etc/nginx/nginx.conf
|
|
|
|
RUN apk -U --no-cache upgrade \
|
|
&& apk --no-cache add socat \
|
|
&& apk --no-cache add nginx
|
|
|
|
EXPOSE 12596
|
|
HEALTHCHECK CMD curl --fail http://localhost:12596/selfhosted || exit 1
|
|
|
|
CMD ["sh", "robosats-client.sh"] |