fix: 创建data目录确保数据库持久化
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ WORKDIR /app
|
|||||||
|
|
||||||
RUN apk add --no-cache ca-certificates tzdata
|
RUN apk add --no-cache ca-certificates tzdata
|
||||||
|
|
||||||
RUN mkdir -p uploads
|
RUN mkdir -p uploads data
|
||||||
|
|
||||||
COPY --from=builder /app/server .
|
COPY --from=builder /app/server .
|
||||||
COPY --from=builder /app/frontend/dist ./static
|
COPY --from=builder /app/frontend/dist ./static
|
||||||
|
|||||||
Reference in New Issue
Block a user