File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM us-central1-docker.pkg.dev/specautomation-458709/microsites/microsites-base:dev
2+ ARG ASTRO_BASE_PATH=/case/
3+ ENV ASTRO_BASE_PATH=/case/
4+
5+ # This clears some test upstream content bundled in the base image, preserving content.config.ts
6+ RUN if [ -f /app/src/content/content.config.ts ]; then \
7+ cp /app/src/content/content.config.ts /tmp/content.config.ts; \
8+ fi && \
9+ rm -rf /app/src/content && \
10+ mkdir -p /app/src/content/standards && \
11+ if [ -f /tmp/content.config.ts ]; then \
12+ cp /tmp/content.config.ts /app/src/content/content.config.ts; \
13+ rm /tmp/content.config.ts; \
14+ fi
15+
16+
17+ COPY --chown=astro:nodejs ob_v3p0/microsites /app/src/content/standards/
18+
19+ # The base image handles everything:
20+ # 1. Runtime processes the assets (transforms paths, copies assets)
21+ # 2. Starts the Astro server
22+ # No additional commands needed!
You can’t perform that action at this time.
0 commit comments