feat: drone.ci

This commit is contained in:
mozzie 2023-03-20 17:34:48 +08:00
parent 8acbdc69c5
commit 07c81289bc

View File

@ -4,7 +4,6 @@ FROM node:16.19-alpine AS build
WORKDIR /app WORKDIR /app
# 将本地文件复制到项目文件夹下 # 将本地文件复制到项目文件夹下
COPY ./apps/server/ . COPY ./apps/server/ .
COPY ./apps/server/public .
RUN ls -a RUN ls -a
# 切换到淘宝镜像,安装依赖比较快 # 切换到淘宝镜像,安装依赖比较快
@ -28,6 +27,7 @@ RUN ls -a
COPY --from=build /app/src ./src COPY --from=build /app/src ./src
COPY --from=build /app/bootstrap.js ./ COPY --from=build /app/bootstrap.js ./
COPY --from=build /app/package.json ./ COPY --from=build /app/package.json ./
COPY --from=build /app/public ./public
ENV TZ="Asia/Shanghai" ENV TZ="Asia/Shanghai"