diff --git a/Dockerfile b/Dockerfile index c0554c2..27e6041 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,16 @@ -from ruby:2.6.6 +FROM ruby:3.1.2 RUN apt update && apt install -y nodejs RUN gem update --system RUN gem install bundler -RUN mkdir /app -WORKDIR /app +RUN mkdir /dockerapp +WORKDIR /dockerapp EXPOSE 3000 -ENTRYPOINT ["/app/bin/docker-run"] +ENTRYPOINT ["/dockerapp/bin/docker-run"] ENV RAILS_SERVE_STATIC_FILES 1 ENV RAILS_LOG_TO_STDOUT 1