Files
service-gateway/deploy/Dockerfile

12 lines
302 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 777 /app/service-gateway
WORKDIR /app
CMD ["./service-gateway"]