Add Dockerfile

This commit is contained in:
Glenn Y. Rolland 2020-05-18 12:27:06 +02:00
parent c424dab3e1
commit ae8f995b00
1 changed files with 13 additions and 0 deletions

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM ruby:2.6-slim
RUN apt-get update \
&& apt-get install -y git make gcc \
&& apt-get clean autoremove
COPY . /app
WORKDIR /app
RUN bundle install --verbose
CMD bundle exec ./exe/namarara-api