Fixed T_T
All checks were successful
Ascently - Docs Deploy / build-and-push (push) Successful in 3m53s
All checks were successful
Ascently - Docs Deploy / build-and-push (push) Successful in 3m53s
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user