Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -14,7 +14,7 @@ RUN git clone https://github.com/ltxlong/search_with_ai.git .
|
|
14 |
#COPY . .
|
15 |
|
16 |
# 启用 Corepack
|
17 |
-
|
18 |
|
19 |
#RUN yarn install --frozen-lockfile
|
20 |
RUN yarn install
|
@@ -29,7 +29,7 @@ WORKDIR /app/deploy
|
|
29 |
#COPY .env.docker .
|
30 |
#RUN set -a && source .env.docker && set +a
|
31 |
|
32 |
-
|
33 |
EXPOSE 3000
|
34 |
|
35 |
# 使用 docker-compose 启动应用
|
|
|
14 |
#COPY . .
|
15 |
|
16 |
# 启用 Corepack
|
17 |
+
RUN corepack enable
|
18 |
|
19 |
#RUN yarn install --frozen-lockfile
|
20 |
RUN yarn install
|
|
|
29 |
#COPY .env.docker .
|
30 |
#RUN set -a && source .env.docker && set +a
|
31 |
|
32 |
+
|
33 |
EXPOSE 3000
|
34 |
|
35 |
# 使用 docker-compose 启动应用
|