Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

폴더/파일 예외 처리 관련 이슈 #3

Open
AkiaCode opened this issue Jan 19, 2021 · 2 comments
Open

폴더/파일 예외 처리 관련 이슈 #3

AkiaCode opened this issue Jan 19, 2021 · 2 comments

Comments

@AkiaCode
Copy link

dpt/main.go

Line 253 in 3c72da9

if contains([]string{"node_modules", ".git", "dist"}, file.Name()) {

그냥 .git, node_modules, dist만 예외 처리 보단 유저가 직접 고른 lang에서 {lang}.dockerignore를 읽어서 거기에 있는 폴더/파일을 제외하는 건 어떤가요

@pmh-only
Copy link
Member

dpt로 dockerfile생성할때 {lang}.dockerignore에서 .dockerignore로 파일명이 변해요

@AkiaCode
Copy link
Author

근데 저기 zip로 압축 할 때는 폴더/파일 제외를 저렇게 처리하나요?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants