mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-21 17:05:22 +03:00
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
|
||||
|
||||
# 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
|
||||
|
|
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