1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-06 00:49:58 +00:00

feat: add docker-compose support (#1257)

This commit is contained in:
Alex 2023-01-17 21:04:53 +08:00 committed by GitHub
parent fd662b8864
commit 53b37a1cfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View file

@ -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
View file

@ -0,0 +1,7 @@
services:
elk:
build:
context: .
dockerfile: Dockerfile
ports:
- 5314:5314