Skip to content

Commit

Permalink
Use slim docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
MergHQ committed Apr 4, 2021
1 parent 9fe1d16 commit 0414d13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm64v8/elixir:1.11.2
FROM arm64v8/elixir:1.11.2-slim

WORKDIR /app
COPY . /app
Expand All @@ -8,5 +8,4 @@ RUN mix local.rebar --force
RUN mix deps.get
RUN mix release


CMD ["mix", "run", "--no-halt"]
2 changes: 2 additions & 0 deletions service/deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
docker build -t hugis420/bagbeer-service:latest .
docker push hugis420/bagbeer-service:latest

1 comment on commit 0414d13

@vercel
Copy link

@vercel vercel bot commented on 0414d13 Apr 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.