fix: add migrations folder to Docker build
This commit is contained in:
@@ -55,6 +55,11 @@ RUN addgroup --system --gid 1001 nodejs
|
|||||||
RUN adduser --system --uid 1001 astro
|
RUN adduser --system --uid 1001 astro
|
||||||
|
|
||||||
# Copy artifacts
|
# Copy artifacts
|
||||||
|
# Copy application code
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# Ensure migrations are included
|
||||||
|
COPY migrations/ ./migrations/
|
||||||
COPY --from=builder /app/dist ./dist
|
COPY --from=builder /app/dist ./dist
|
||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
|
|||||||
Reference in New Issue
Block a user