data-transfer-test/Dockerfile
2021-10-07 20:34:07 -04:00

16 lines
268 B
Docker

FROM ruby:2.7.2
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", "puma", "-p", "4567"]