feat: init repo

This commit is contained in:
Rogee
2025-01-09 19:11:01 +08:00
parent b9cc63fe8a
commit 1c7b603769
149 changed files with 20066 additions and 10 deletions

17
backend/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM docker.hub.ipao.vip/alpine:3.20
# Set timezone
RUN apk add --no-cache tzdata && \
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
echo "Asia/Shanghai" > /etc/timezone && \
apk del tzdata
COPY backend/build/app /app/app
COPY backend/config.toml /app/config.toml
COPY frontend/dist /app/dist
WORKDIR /app
ENTRYPOINT ["/app/app"]
CMD [ "serve" ]