Skip to content

Commit

Permalink
set DSLIM_INCLUDE_APP_NEXT_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
luojiyin1987 committed Jul 24, 2024
1 parent 7c7180a commit 5e9d735
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
README.md
node_modules/
.eslintrc.json
.next/
.vercel/
start.sh
.husky/
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
uses: kitabisa/docker-slim-action@v1
env:
DSLIM_HTTP_PROBE: false
DSLIM_INCLUDE_APP_NEXT_DIR: true
with:
target: ${{ env.BOX_URL }}:latest
tag: 'slim'
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ COPY --from=prod-deps /app/node_modules ./node_modules
COPY --from=build /app/public ./public
COPY --from=build /app/.next ./.next
EXPOSE 3000
CMD ["npm","run", "start"]
CMD ["npm","start"]

1 comment on commit 5e9d735

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for oss-toolbox ready!

✅ Preview
https://oss-toolbox-3mf43gc0l-techquerys-projects.vercel.app

Built with commit 5e9d735.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.