Fixed T_T
All checks were successful
Ascently - Docs Deploy / build-and-push (push) Successful in 3m53s

This commit is contained in:
2025-10-14 11:53:51 -06:00
parent 1a8f41ecde
commit 79b87a088d
4 changed files with 159 additions and 5 deletions

View File

@@ -62,9 +62,11 @@ WORKDIR /app
# Copy built application
COPY --from=builder /app/dist ./dist
# Copy production dependencies and package files
# Copy production dependencies
COPY --from=deps /app/node_modules ./node_modules
COPY package.json pnpm-lock.yaml ./
# Copy package.json for any runtime needs
COPY package.json ./
# Set environment variables
ENV HOST=0.0.0.0 \
@@ -74,5 +76,5 @@ ENV HOST=0.0.0.0 \
# Expose port
EXPOSE 4321
# Start the application using Astro preview
CMD ["pnpm", "run", "preview", "--host", "0.0.0.0"]
# Start the application
CMD ["node", "./dist/server/entry.mjs"]