Skip to content

Commit

Permalink
feat: add docker-compose support (#1257)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzhang1030 committed Jan 17, 2023
1 parent fd662b8 commit 53b37a1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ WORKDIR /elk

FROM base AS builder

# Prepare pnpm ( refer to https://pnpm.io/installation#on-alpine-linux )
RUN wget -qO /bin/pnpm "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" && chmod +x /bin/pnpm
# Prepare pnpm https://pnpm.io/installation#using-corepack
RUN corepack enable

# Prepare deps
RUN apk update
Expand Down
7 changes: 7 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
services:
elk:
build:
context: .
dockerfile: Dockerfile
ports:
- 5314:5314

0 comments on commit 53b37a1

Please sign in to comment.