feat 全套部署

This commit is contained in:
2026-01-07 17:50:39 +08:00
parent 3504ec12cc
commit 2bfd6004fd
2 changed files with 138 additions and 4 deletions

View File

@@ -1,11 +1,12 @@
FROM alpine:latest
FROM alpine:3.23.2
RUN apk add --no-cache tzdata && \
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
echo "Asia/Shanghai" > /etc/timezone
COPY user/ /app/
RUN chmod 777 /app/server-user
COPY service-user /app/service-user
COPY config /app/config
RUN chmod 777 /app/service-user
WORKDIR /app
CMD ["./server-user"]
CMD ["./service-user"]