forked from Mirrors/elk
feat: add docker-compose support (#1257)
This commit is contained in:
parent
fd662b8864
commit
53b37a1cfb
2 changed files with 9 additions and 2 deletions
|
@ -5,8 +5,8 @@ WORKDIR /elk
|
||||||
|
|
||||||
FROM base AS builder
|
FROM base AS builder
|
||||||
|
|
||||||
# Prepare pnpm ( refer to https://pnpm.io/installation#on-alpine-linux )
|
# Prepare pnpm https://pnpm.io/installation#using-corepack
|
||||||
RUN wget -qO /bin/pnpm "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" && chmod +x /bin/pnpm
|
RUN corepack enable
|
||||||
|
|
||||||
# Prepare deps
|
# Prepare deps
|
||||||
RUN apk update
|
RUN apk update
|
||||||
|
|
7
docker-compose.yaml
Normal file
7
docker-compose.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
services:
|
||||||
|
elk:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
ports:
|
||||||
|
- 5314:5314
|
Loading…
Reference in a new issue