mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-05 03:29:22 +08:00
修复权限Bug
This commit is contained in:
@@ -7,16 +7,11 @@ COPY requirements.txt .
|
||||
RUN python3 -m pip install --upgrade pip \
|
||||
&& pip install -r requirements.txt --prefix="/install"
|
||||
|
||||
FROM python:3.10-alpine AS permission
|
||||
|
||||
COPY --from=build --chmod=777 /install /usr/local
|
||||
RUN chmod -R 777 /usr/local
|
||||
|
||||
FROM python:3.10-alpine
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
COPY --from=permission --chmod=777 /usr/local /usr/local
|
||||
COPY --from=build --chmod=777 /install /usr/local
|
||||
ADD ./src /src
|
||||
|
||||
RUN apk add --update --no-cache \
|
||||
|
||||
Reference in New Issue
Block a user