File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,20 @@ RUN bundle install && \
5454# This does not actually expose the port, you'll have to expose it yourself by
5555# using `-p 3000:3000/tcp` in Docker's CLI or `- "3000:3000"` in the in docker-compose.yml service's ports[].
5656# https://docs.docker.com/engine/reference/builder/#expose
57- EXPOSE 3000/tcp
57+ # EXPOSE 3000/tcp
5858
5959# Finally, start the server!
60- CMD rails server -b 0.0.0.0
60+ # CMD rails server -b 0.0.0.0
61+
62+
63+
64+ # This image should expose port 80.
65+ EXPOSE 80/tcp
66+
67+ # Finally, start the server using Puma!
68+ CMD bundle exec puma -C config/puma.rb -e ${RAILS_ENV} -b tcp://0.0.0.0:80
69+
70+
71+
72+ # And run it with
73+ # docker run --name nb-webserver -p 80:3000 -d notebookai
You can’t perform that action at this time.
0 commit comments