12 lines
294 B
Docker
12 lines
294 B
Docker
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 service-robot /app/service-robot
|
|
COPY config /app/config
|
|
RUN chmod 777 /app/service-robot
|
|
|
|
WORKDIR /app
|
|
CMD ["./service-robot"] |