Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/push-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ jobs:
cd decentralizard
git fetch origin
git reset --hard origin/main
# Cleanup build cache
docker builder prune -af
# Run deployment script
bash scripts/production.sh
EOF
3 changes: 2 additions & 1 deletion Dockerfile.production
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ RUN --mount=type=cache,target=/app/.yarn/cache,uid=1001,gid=1001 \
# Stage 2: Builder
FROM deps AS builder
COPY --chown=node:node . .
RUN yarn build
RUN --mount=type=cache,target=/app/.next/cache,uid=1001,gid=1001 \
yarn build

# Stage 3: Production
FROM base AS production
Expand Down