data-transfer-test/Dockerfile

16 lines
268 B
Docker
Raw Normal View History

2021-10-05 02:34:09 +00:00
FROM ruby:2.7.1
2021-10-05 14:22:47 +00:00
RUN apt-get update && apt-get install -y
RUN apt-get install -y nodejs sqlite3
RUN apt-get install npm -y
2021-10-05 02:34:09 +00:00
WORKDIR /code
COPY . /code
2021-10-05 14:22:47 +00:00
RUN cd public && npm install
RUN cd ..
2021-10-05 02:34:09 +00:00
RUN bundle install
EXPOSE 4567
2021-10-05 14:22:47 +00:00
CMD ["bundle", "exec", "puma", "-p", "4567"]