Add Dockerfile
This commit is contained in:
parent
c424dab3e1
commit
ae8f995b00
1 changed files with 13 additions and 0 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal 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
|
Loading…
Reference in a new issue