diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..00cd771 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,17 @@ +.git +.cache + +logs/ +node_modules/ +.idea/ + +Jenkinsfile +CODE_OF_CONDUCT.md +LICENSE +README.md +chart/ +dist/ +docs/ +test-report.xml +setup-template.sh +update-template.sh diff --git a/.gitignore b/.gitignore index a547bf3..1c4406c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # Logs -logs +logs/ *.log npm-debug.log* yarn-debug.log* @@ -7,15 +7,15 @@ yarn-error.log* pnpm-debug.log* lerna-debug.log* -node_modules -dist +node_modules/ +dist/ dist-ssr *.local # Editor directories and files .vscode/* !.vscode/extensions.json -.idea +.idea/ .DS_Store *.suo *.ntvs* diff --git a/Dockerfile b/Dockerfile index 2746de7..a4aae6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ RUN mkdir -p /opt/app-root/src/node_modules && \ EXPOSE 5173 -CMD ["npm", "run", "dev"] +CMD ["npm", "run", "dev", "--", "--host"]