代码拉取完成,页面将自动刷新
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__
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。