Files
brewery/Dockerfile
T
2023-05-31 17:32:54 +03:00

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"]