12 lines
301 B
Docker
12 lines
301 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-gateway /app/service-gateway
|
|
COPY config /app/config
|
|
RUN chmod +x /app/service-gateway
|
|
|
|
WORKDIR /app
|
|
CMD ["./service-gateway"] |