Add czleilei240 runtime profiles, frontend domains, contract paths, and Docker deployment updates so the integral shop can run against the Leilei environment. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
646 B
Docker
19 lines
646 B
Docker
# =============================================================
|
||
# Redis(Alpine + apk 安装,绕过 Docker Hub 镜像拉取问题)
|
||
# 与 step1 方案一致:不依赖 docker.io,只需 registry-1.docker.io 拉 alpine:3.19
|
||
# =============================================================
|
||
|
||
FROM alpine:3.19
|
||
|
||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
|
||
&& apk add --no-cache redis tzdata \
|
||
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
||
&& echo "Asia/Shanghai" > /etc/timezone \
|
||
&& rm -f /etc/apk/cache/*.apk
|
||
|
||
VOLUME /data
|
||
WORKDIR /data
|
||
EXPOSE 6379
|
||
|
||
ENTRYPOINT ["redis-server"]
|