Update
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
FROM ruby:2.7.1
|
||||
|
||||
RUN apt-get update && apt-get install -y
|
||||
RUN apt-get install -y nodejs sqlite3
|
||||
RUN apt-get install npm -y
|
||||
|
||||
WORKDIR /code
|
||||
COPY . /code
|
||||
|
||||
RUN cd public && npm install
|
||||
RUN cd ..
|
||||
RUN bundle install
|
||||
|
||||
EXPOSE 4567
|
||||
|
||||
CMD ["bundle", "exec", "rackup", "--host", "0.0.0.0", "-p", "4567"]
|
||||
CMD ["bundle", "exec", "puma", "-p", "4567"]
|
||||
Reference in New Issue
Block a user