mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
15 lines
264 B
Docker
15 lines
264 B
Docker
FROM ruby:3.1.2
|
|
|
|
ENV PORT 3000
|
|
EXPOSE $PORT
|
|
|
|
WORKDIR /home/app
|
|
|
|
RUN apt-get update && apt-get install -y npm && npm install -g yarn
|
|
|
|
COPY Gemfile Gemfile.lock ./
|
|
RUN bundle install
|
|
COPY . .
|
|
|
|
CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0", "-p", "5555"]
|