Skip to content

Commit

Permalink
Added docker dev setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ess committed May 4, 2021
1 parent c5207e2 commit e487059
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM ruby:3.0
MAINTAINER [email protected]

RUN apt-get update && apt-get install -y \
build-essential \
rsync \
wamerican \
nodejs \
vim

RUN mkdir -p /app
WORKDIR /app

COPY . ./
#RUN gem install bundler && bundle install
RUN bundle install

CMD ["bash"]
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dev:
build: .
volumes:
- .:/app

0 comments on commit e487059

Please sign in to comment.