added better docker practices for self hosting

This commit is contained in:
Aaro Koivukangas
2024-03-04 22:31:12 +02:00
parent ff38f272dc
commit 375a991611
3 changed files with 14 additions and 8 deletions
+2 -2
View File
@@ -11,5 +11,5 @@ COPY Gemfile Gemfile.lock ./
RUN bundle install
COPY . .
ENTRYPOINT ["/bin/bash"]
CMD ["startup.sh"]
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["rails", "server", "-e", "production", "-p", "3000"]