From df80ae41432d94c0357501c1d91c365c0a4606c9 Mon Sep 17 00:00:00 2001 From: m1xxos <66390094+m1xxos@users.noreply.github.com> Date: Mon, 9 Dec 2024 21:10:07 +0300 Subject: [PATCH] feat:alpine build --- packages/api/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/api/Dockerfile b/packages/api/Dockerfile index 542806a0f..5e2df945a 100644 --- a/packages/api/Dockerfile +++ b/packages/api/Dockerfile @@ -25,10 +25,10 @@ RUN yarn install --pure-lockfile && \ rm -rf /app/packages/api/node_modules /app/node_modules && \ yarn install --pure-lockfile --production -FROM node:18.16 AS runner +FROM node:18.16-alpine AS runner LABEL org.opencontainers.image.source="https://github.com/omnivore-app/omnivore" -RUN apt-get update && apt-get install -y netcat-openbsd && apt-get clean && rm -rf /var/lib/apt/lists/* +RUN apk update && apk add netcat-openbsd && rm -rf /var/cache/apk/* WORKDIR /app