Skip to content

Commit

Permalink
Expose host in Dockerfile (#19)
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Sundberg <[email protected]>
  • Loading branch information
seansund authored Sep 11, 2023
1 parent 0f540b2 commit c8fc167
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
17 changes: 17 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -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
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Logs
logs
logs/
*.log
npm-debug.log*
yarn-debug.log*
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*
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ RUN mkdir -p /opt/app-root/src/node_modules && \

EXPOSE 5173

CMD ["npm", "run", "dev"]
CMD ["npm", "run", "dev", "--", "--host"]

0 comments on commit c8fc167

Please sign in to comment.