feat 全套部署
This commit is contained in:
@@ -1,11 +1,12 @@
|
|||||||
FROM alpine:latest
|
FROM alpine:3.23.2
|
||||||
|
|
||||||
RUN apk add --no-cache tzdata && \
|
RUN apk add --no-cache tzdata && \
|
||||||
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
|
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
|
||||||
echo "Asia/Shanghai" > /etc/timezone
|
echo "Asia/Shanghai" > /etc/timezone
|
||||||
|
|
||||||
COPY robot/ /app/
|
COPY service-robot /app/service-robot
|
||||||
RUN chmod 777 /app/server-robot
|
COPY config /app/config
|
||||||
|
RUN chmod 777 /app/service-robot
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
CMD ["./server-robot"]
|
CMD ["./service-robot"]
|
||||||
Reference in New Issue
Block a user