refactor: 移除旧版单文件管理后台兼容
This commit is contained in:
@@ -26,12 +26,10 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY main.py db.py minio_tool.py tables.sql ./
|
||||
COPY app ./app
|
||||
COPY --chown=updateapp:updateapp legacy/admin.html ./legacy/admin.html
|
||||
COPY --from=admin_ui_builder --chown=updateapp:updateapp /ui/dist ./admin-ui/dist
|
||||
|
||||
RUN mkdir -p /data/uploads /data/upload_spool /run/secrets/update-keys \
|
||||
&& chown -R updateapp:updateapp /app /data \
|
||||
&& chmod 644 /app/legacy/admin.html \
|
||||
&& find /app/admin-ui/dist -type f -exec chmod 644 {} \; \
|
||||
&& find /app/admin-ui/dist -type d -exec chmod 755 {} \;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user