We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8042928 commit ca12c8bCopy full SHA for ca12c8b
Dockerfile
@@ -56,18 +56,11 @@ RUN bundle install && \
56
# https://docs.docker.com/engine/reference/builder/#expose
57
#EXPOSE 3000/tcp
58
59
-# Finally, start the server!
60
-#CMD rails server -b 0.0.0.0
61
-
62
63
64
-# This image should expose port 80.
+# This image should expose port 3000.
65
EXPOSE 3000/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:3000
69
70
71
72
# And run it with
73
# docker run --name nb-webserver -p 80:3000 -d notebookai
0 commit comments