Skip to content

Commit 12baa7b

Browse files
committed
update dockerfile
1 parent 85034d7 commit 12baa7b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Dockerfile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
FROM ghcr.io/go-rod/rod:v0.116.0
22

3+
ARG RAILWAY_PUBLIC_DOMAIN
4+
35
ENV TZ=Asia/Shanghai
6+
ENV PORT=8080
7+
ENV ROD_URL=ws://rod.railway.internal:7317
8+
ENV RSS_HOST=${RAILWAY_PUBLIC_DOMAIN}
9+
ENV RSS_HTTPS=1
410

5-
RUN curl https://wechat2rss.xlab.app/release/server -o server \
6-
&& chmod +x /server
11+
RUN apt update -y && \
12+
apt install -y curl && \
13+
curl https://wechat2rss.xlab.app/release/server -o server && \
14+
chmod +x /server
715

816
WORKDIR /wechat2rss
917
CMD ["/server"]

0 commit comments

Comments
 (0)