Skip to content

Commit

Permalink
Merge pull request #220 from block/myron/further-docker-improvements
Browse files Browse the repository at this point in the history
Further improve our docker image.
  • Loading branch information
myronmarston authored Feb 24, 2025
2 parents 3ea84f3 + 9b328be commit 3f61376
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 22 deletions.
17 changes: 17 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Mac OS X file.
**/.DS_Store

# Git
**/.git

# Documentation and License files
**/*.md
**/*.txt

# Ignore log and temp files.
**/log
**/tmp

# Ignore spec and signature files.
**/spec
**/sig
21 changes: 0 additions & 21 deletions config/docker_demo/.dockerignore

This file was deleted.

3 changes: 3 additions & 0 deletions config/docker_demo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ FROM ruby:${RUBY_VERSION}

WORKDIR /app

# Avoid "fatal: not a git repository (or any of the parent directories): .git"
RUN git init

# Copy the minimal Gemfile and local ElasticGraph gems that we need.
COPY config/docker_demo/Gemfile .
COPY elasticgraph elasticgraph
Expand Down
2 changes: 1 addition & 1 deletion config/docker_demo/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
networks:
default:
name: opensearch
name: elasticgraph-docker-demo
external: false
services:
opensearch:
Expand Down

0 comments on commit 3f61376

Please sign in to comment.