Spaces:
Sleeping
Sleeping
epii-1
commited on
Commit
·
66c3c9a
1
Parent(s):
93ed4a1
222222
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -12,7 +12,7 @@ COPY nginx.conf /etc/nginx/nginx.conf
|
|
12 |
# 设置工作目录
|
13 |
# 设置工作目录
|
14 |
WORKDIR /app
|
15 |
-
RUN
|
16 |
COPY frontend/package*.json /app/frontend/
|
17 |
RUN cd /app/frontend
|
18 |
RUN npm install -g pnpm
|
@@ -20,7 +20,7 @@ RUN pnpm install
|
|
20 |
COPY frontend/ /app/frontend/
|
21 |
RUN npm run build
|
22 |
|
23 |
-
RUN
|
24 |
RUN cd /app/backend
|
25 |
COPY backend/package*.json /app/backend/
|
26 |
RUN npm install -g pnpm
|
|
|
12 |
# 设置工作目录
|
13 |
# 设置工作目录
|
14 |
WORKDIR /app
|
15 |
+
RUN mkdir /app/frontend
|
16 |
COPY frontend/package*.json /app/frontend/
|
17 |
RUN cd /app/frontend
|
18 |
RUN npm install -g pnpm
|
|
|
20 |
COPY frontend/ /app/frontend/
|
21 |
RUN npm run build
|
22 |
|
23 |
+
RUN mkdir /app/backend
|
24 |
RUN cd /app/backend
|
25 |
COPY backend/package*.json /app/backend/
|
26 |
RUN npm install -g pnpm
|