mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
Add a new, slimmer Dockerfile
We'll use docker-compose for providing the other dependencies.
This commit is contained in:
parent
7922ae46de
commit
cde2108129
1 changed files with 14 additions and 0 deletions
14
Dockerfile
Normal file
14
Dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
|||
FROM ruby:2.3
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN touch /etc/app-env
|
||||
|
||||
COPY Gemfile* /app/
|
||||
RUN bundle install
|
||||
|
||||
RUN mkdir /app/log
|
||||
|
||||
COPY . /app/
|
||||
|
||||
EXPOSE 3000
|
Loading…
Add table
Add a link
Reference in a new issue