ci: fix dockerfile
🚀 Create and publish a Docker image / Detect changes in backend and frontend (push) Successful in 5s
🚀 Create and publish a Docker image / Build & publish backend image (push) Successful in 7s
🚀 Create and publish a Docker image / Build & publish frontend image (push) Successful in 18s
🚀 Create and publish a Docker image / Update stack on Portainer (push) Successful in 3s
🚀 Create and publish a Docker image / Detect changes in backend and frontend (push) Successful in 5s
🚀 Create and publish a Docker image / Build & publish backend image (push) Successful in 7s
🚀 Create and publish a Docker image / Build & publish frontend image (push) Successful in 18s
🚀 Create and publish a Docker image / Update stack on Portainer (push) Successful in 3s
This commit is contained in:
+2
-2
@@ -6,11 +6,11 @@ RUN corepack enable
|
||||
|
||||
FROM base AS prod
|
||||
|
||||
COPY pnpm-lock.yaml /app
|
||||
WORKDIR /app
|
||||
COPY pnpm-lock.yaml ./
|
||||
RUN pnpm fetch --prod
|
||||
|
||||
COPY . /app
|
||||
COPY . ./
|
||||
RUN pnpm run build
|
||||
|
||||
FROM nginx:1.30-alpine
|
||||
|
||||
Reference in New Issue
Block a user