diff --git a/Dockerfile b/Dockerfile index 3ef206c0..f45aaf26 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 00000000..9430a8dd --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,7 @@ +services: + elk: + build: + context: . + dockerfile: Dockerfile + ports: + - 5314:5314