Skip to content

Commit a90ee25

Browse files
committed
adding file to docker ignore global
1 parent 433c293 commit a90ee25

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# ignore from docker context user
2+
./volume/global/pg_filenode.map
23
./volume/global

Dockerfile_rails

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,4 @@ WORKDIR /app
3333
COPY ./volume/blog-backend/Gemfile /app/Gemfile
3434
COPY ./volume/blog-backend/Gemfile.lock /app/Gemfile.lock
3535
RUN bundle install
36-
COPY ./volume/blog-backend /app
37-
38-
COPY entrypoint.sh /usr/bin/
39-
RUN chmod +x /usr/bin/entrypoint.sh
40-
ENTRYPOINT ["entrypoint.sh"]
36+
COPY ./volume/blog-backend /app

docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ services:
4444
depends_on:
4545
- rails
4646
# docker-compose build
47-
# docker-composer run rails rake db:create
47+
# docker-compose run rails rake db:create
48+
# docker-compose run rails rake db:migrate
4849
# docker-compose up -d
4950
# localhost:3000

entrypoint.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)