fix: cors
Some checks failed
build quyun / Build (push) Failing after 1m21s

This commit is contained in:
2025-12-22 11:20:30 +08:00
parent 885df8aabf
commit ef0bb03ea0
7 changed files with 76 additions and 14 deletions

23
Dockerfile.v2 Normal file
View File

@@ -0,0 +1,23 @@
FROM docker.hub.ipao.vip/jrottenberg/ffmpeg:4.4-alpine
# Set timezone
RUN apk add --no-cache tzdata && \
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
echo "Asia/Shanghai" > /etc/timezone && \
apk del tzdata && \
mkdir -p /app/downloads /app/dist
COPY backend_v1/build/app /app/app
COPY backend_v1/config.prod.toml /app/config.toml
COPY frontend/admin/dist /app/dist/admin
COPY frontend/wechat/dist /app/dist/wechat
WORKDIR /app
ENTRYPOINT ["/app/app"]
EXPOSE 9888
VOLUME ["/app/downloads"]
CMD [ "serve" ]