mirror of
https://github.com/AppFlowy-IO/AppFlowy-Web.git
synced 2025-12-01 11:57:53 +08:00
chore: update pnpm version in docker
This commit is contained in:
@@ -5,16 +5,14 @@ WORKDIR /app
|
|||||||
|
|
||||||
ARG VERSION=main
|
ARG VERSION=main
|
||||||
|
|
||||||
RUN npm install -g pnpm@10.9.0
|
COPY . .
|
||||||
|
RUN corepack enable
|
||||||
RUN pnpm install
|
RUN pnpm install
|
||||||
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
RUN sed -i 's|https://test.appflowy.cloud||g' src/components/main/app.hooks.ts
|
RUN sed -i 's|https://test.appflowy.cloud||g' src/components/main/app.hooks.ts
|
||||||
RUN pnpm run build
|
RUN pnpm run build
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
COPY --from=builder /app/dist /usr/share/nginx/html/
|
COPY --from=builder /app/dist /usr/share/nginx/html/
|
||||||
|
COPY --from=builder /app/docker/nginx.conf /etc/nginx/nginx.conf
|
||||||
# Copy nginx.conf from docker folder
|
|
||||||
COPY docker/nginx.conf /etc/nginx/nginx.conf
|
|
||||||
|
|||||||
Reference in New Issue
Block a user