ci: fix docker nuxt generate folder
This commit is contained in:
@@ -6,8 +6,8 @@ RUN npm install -g pnpm
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
RUN pnpm install && pnpm run build
|
||||
RUN pnpm install && pnpm run generate
|
||||
|
||||
FROM nginx:stable-alpine
|
||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||
COPY --from=builder /app/.output/public /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
|
||||
Reference in New Issue
Block a user