We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa5aacf commit 8d950c5Copy full SHA for 8d950c5
Dockerfile
@@ -4,7 +4,6 @@ WORKDIR /app/fcb-fronted/
4
ENV NPM_CONFIG_LOGLEVEL=verbose
5
RUN npm i
6
RUN npm run build-only
7
-# 似乎需要把文件移动才能正常
8
RUN mv dist/logo_small.png dist/assets/
9
10
@@ -17,6 +16,7 @@ LABEL version="6"
17
16
# 先安装依赖可以产生缓存
18
WORKDIR /app
19
COPY requirements.txt /app
+RUN apt-get update && apt-get install -y --no-install-recommends gcc libc-dev
20
RUN /usr/local/bin/python -m pip install --upgrade pip && pip install -r requirements.txt
21
COPY ./backend/ /app
22
COPY --from=webui /app/fcb-fronted/dist/ /app/dist
0 commit comments