Skip to content

Commit bce1f99

Browse files
authored
change thruster port to 8080 in dockerfile (#270)
1 parent a81c949 commit bce1f99

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
55
# docker build -t pya --platform linux/amd64 .
6-
# docker run --platform linux/amd64 -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name pya pya
6+
# docker run --platform linux/amd64 -d -p 8080:8080 -e RAILS_MASTER_KEY=<value from config/master.key> --name pya pya
77

88
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
99

@@ -66,5 +66,6 @@ USER 1000:1000
6666
ENTRYPOINT ["/rails/bin/docker-entrypoint"]
6767

6868
# Start server via Thruster by default, this can be overwritten at runtime
69-
EXPOSE 80
69+
ENV THRUSTER_HTTP_PORT=8080
70+
EXPOSE 8080
7071
CMD ["./bin/thrust", "./bin/rails", "server"]

0 commit comments

Comments
 (0)