|
@@ -25,13 +25,13 @@ RUN echo 'deb http://mirrors.aliyun.com/debian/ bookworm main non-free contrib'
|
|
|
|
|
|
|
|
RUN pip install --no-cache-dir --upgrade pip setuptools wheel
|
|
RUN pip install --no-cache-dir --upgrade pip setuptools wheel
|
|
|
|
|
|
|
|
-COPY pyproject.toml ./
|
|
|
|
|
-
|
|
|
|
|
-RUN pip install .
|
|
|
|
|
|
|
+COPY pyproject.toml README.md ./
|
|
|
|
|
|
|
|
COPY apps/ ./apps/
|
|
COPY apps/ ./apps/
|
|
|
COPY main.py ./
|
|
COPY main.py ./
|
|
|
|
|
|
|
|
|
|
+RUN pip install .
|
|
|
|
|
+
|
|
|
RUN mkdir -p /opt/maxkb-app/model/base /opt/maxkb-app/tmp /opt/maxkb-app/logs
|
|
RUN mkdir -p /opt/maxkb-app/model/base /opt/maxkb-app/tmp /opt/maxkb-app/logs
|
|
|
|
|
|
|
|
COPY start.sh /opt/maxkb-app/start.sh
|
|
COPY start.sh /opt/maxkb-app/start.sh
|