Skip to content

Commit

Permalink
#573: minor tweaks after testing with docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Badgerati committed Jun 28, 2020
1 parent 87c9dd7 commit 2e0ebdd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ pode_modules/
ps_modules/
docs/[Ff]unctions/
examples/state.json
pkg/


# Code Runner
Expand Down
2 changes: 1 addition & 1 deletion examples/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM badgerati/pode:latest
FROM badgerati/pode:test
COPY . /usr/src/app/
EXPOSE 10000
CMD [ "pwsh", "-c", "cd /usr/src/app; ./web-pages-docker.ps1" ]
2 changes: 1 addition & 1 deletion examples/web-pages-docker.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module Pode -Force -ErrorAction Stop
Import-Module /usr/local/share/powershell/Modules/Pode/Pode.psm1 -Force -ErrorAction Stop

# create a server, and start listening on port 8085
Start-PodeServer -Threads 2 {
Expand Down

0 comments on commit 2e0ebdd

Please sign in to comment.