Skip to content

Commit ca12c8b

Browse files
committed
finalize on puma
1 parent 8042928 commit ca12c8b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Dockerfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,11 @@ RUN bundle install && \
5656
# https://docs.docker.com/engine/reference/builder/#expose
5757
#EXPOSE 3000/tcp
5858

59-
# Finally, start the server!
60-
#CMD rails server -b 0.0.0.0
61-
62-
63-
64-
# This image should expose port 80.
59+
# This image should expose port 3000.
6560
EXPOSE 3000/tcp
6661

6762
# Finally, start the server using Puma!
6863
CMD bundle exec puma -C config/puma.rb -e ${RAILS_ENV} -b tcp://0.0.0.0:3000
6964

70-
71-
7265
# And run it with
7366
# docker run --name nb-webserver -p 80:3000 -d notebookai

0 commit comments

Comments
 (0)