From b022838b43d533e9be13edf47fb9f87b22e79f31 Mon Sep 17 00:00:00 2001 From: Santiago Bartesaghi Date: Tue, 14 Jan 2025 11:29:55 -0300 Subject: [PATCH] Fix Dockerfile --- Dockerfile | 4 ++-- Dockerfile.dev | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 50153ebe..4fa13bb3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ ENV NODE_ENV=production FROM base AS builder RUN apt-get update -qq && \ - apt-get install -y build-essential libssl-dev libpq-dev git libsasl2-dev curl && \ + apt-get install -y build-essential libssl-dev libpq-dev git libsasl2-dev libyaml-dev curl && \ rm -rf /var/lib/apt/lists/* # Copy node binaries from node image. @@ -58,7 +58,7 @@ FROM base # Install packages needed for deployment RUN apt-get update -qq && \ - apt-get install --no-install-recommends -y curl libpq-dev libvips libjemalloc2 && \ + apt-get install --no-install-recommends -y curl libpq-dev libvips libjemalloc2 libyaml-dev && \ apt-get clean # Create app directory. diff --git a/Dockerfile.dev b/Dockerfile.dev index 11c49975..b28b4d28 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -8,7 +8,7 @@ FROM node:$NODE_VERSION AS node FROM ruby:${RUBY_VERSION}-slim RUN apt-get update -qq && \ - apt-get install -y build-essential libssl-dev libpq-dev vim git libsasl2-dev curl && \ + apt-get install -y build-essential libssl-dev libpq-dev vim git libsasl2-dev libyaml-dev curl && \ rm -rf /var/lib/apt/lists/* # Copy node binaries from node image.