feat 全套部署

This commit is contained in:
2026-01-07 17:50:38 +08:00
parent dc394945fb
commit 1c9cddf93d

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 robot/ /app/
RUN chmod 777 /app/server-robot
COPY service-robot /app/service-robot
COPY config /app/config
RUN chmod 777 /app/service-robot
WORKDIR /app
CMD ["./server-robot"]
CMD ["./service-robot"]