3 Star 0 Fork 0

ynf/ymk_community_management

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile.server_deps 935 Bytes
一键复制 编辑 原始数据 按行查看 历史
ynf 提交于 2023-04-10 14:48 . rename image name
FROM ccr.ccs.tencentyun.com/mkmk-common/a:ymk_community_management_web_ui as build-web-ui
FROM python:3.11.2-alpine3.16 as build-server
ENV BUILD_TYPE=release
COPY .devcontainer /app/.devcontainer
WORKDIR /app
RUN sh /app/.devcontainer/install_pdm.sh
COPY .pdm.toml /app
COPY pdm.lock /app
COPY pyproject.toml /app
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tencent.com/g' /etc/apk/repositories \
&& apk add --update --no-cache \
build-base linux-headers \
mariadb-dev \
nginx \
&& rm -rf /var/cache/apk/*
RUN sh /app/.devcontainer/post_create.sh
FROM python:3.11.2-alpine3.16
ENV TZ=Asia/Shanghai
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tencent.com/g' /etc/apk/repositories \
&& apk add --update --no-cache \
mariadb-connector-c \
nginx \
&& rm -rf /var/cache/apk/*
COPY --from=build-web-ui /app/dist /app/dist
COPY --from=build-server /app/__pypackages__ /app/__pypackages__
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lmk73444/ymk_community_management.git
git@gitee.com:lmk73444/ymk_community_management.git
lmk73444
ymk_community_management
ymk_community_management
master

搜索帮助