Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -12,7 +12,10 @@ WORKDIR /app
|
|
12 |
ARG REPO_URL=https://github.com/HChaoHui/msOauth2api.git
|
13 |
ARG BRANCH=vps
|
14 |
RUN git clone -b ${BRANCH} ${REPO_URL} .
|
|
|
15 |
COPY .env /app/
|
|
|
|
|
16 |
|
17 |
# 安装 Yarn 依赖
|
18 |
RUN yarn install --frozen-lockfile
|
|
|
12 |
ARG REPO_URL=https://github.com/HChaoHui/msOauth2api.git
|
13 |
ARG BRANCH=vps
|
14 |
RUN git clone -b ${BRANCH} ${REPO_URL} .
|
15 |
+
|
16 |
COPY .env /app/
|
17 |
+
COPY apiRouters.js /app/routes/
|
18 |
+
|
19 |
|
20 |
# 安装 Yarn 依赖
|
21 |
RUN yarn install --frozen-lockfile
|