Skip to content

Commit

Permalink
Fix Dockerfile (#952)
Browse files Browse the repository at this point in the history
  • Loading branch information
santib authored Jan 15, 2025
1 parent e575ef3 commit d1ec263
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d1ec263

Please sign in to comment.