Fixed RSS date/time
All checks were successful
Docker Deploy / build-and-push (push) Successful in 4m20s

This commit is contained in:
2025-12-21 01:45:28 -07:00
parent ebb980f275
commit d6d75eff37
5 changed files with 42 additions and 10 deletions

View File

@@ -46,35 +46,29 @@ RUN --mount=type=cache,id=pnpm,target=/.pnpm-store \
FROM build-deps AS builder
# Copy source code
ARG PUBLIC_RSS_TIMEZONE
ENV PUBLIC_RSS_TIMEZONE=${PUBLIC_RSS_TIMEZONE}
COPY . .
# Build the application
RUN pnpm run build
FROM node:24-alpine AS runtime
# Install pnpm for runtime
RUN npm install -g pnpm
WORKDIR /app
# Copy built application
COPY --from=builder /app/dist ./dist
# Copy production dependencies
COPY --from=deps /app/node_modules ./node_modules
# Copy package.json for any runtime needs
COPY package.json ./
# Set environment variables
ENV HOST=0.0.0.0 \
PORT=4321 \
NODE_ENV=production
# Expose port
EXPOSE 4321
# Start the application
CMD ["node", "./dist/server/entry.mjs"]