mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
Update Dockerfile.prod
This commit is contained in:
parent
34c82e82a5
commit
1b0de3e3af
1 changed files with 10 additions and 12 deletions
|
|
@ -8,24 +8,22 @@ ENV RAILS_PORT=3000
|
||||||
ENV RAILS_ENV=production
|
ENV RAILS_ENV=production
|
||||||
ENV SELF_HOSTED=true
|
ENV SELF_HOSTED=true
|
||||||
|
|
||||||
# Install dependencies for application
|
RUN apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||||
RUN apk -U add --no-cache \
|
build-essential \
|
||||||
build-base \
|
|
||||||
git \
|
git \
|
||||||
postgresql-dev \
|
libpq-dev \
|
||||||
postgresql-client \
|
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libxslt-dev \
|
libxslt-dev \
|
||||||
nodejs \
|
libyaml-dev \
|
||||||
yarn \
|
libgeos-dev libgeos++-dev \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
tzdata \
|
tzdata \
|
||||||
|
nodejs \
|
||||||
|
yarn \
|
||||||
less \
|
less \
|
||||||
yaml-dev \
|
libjemalloc2 libjemalloc-dev \
|
||||||
gcompat \
|
&& mkdir -p $APP_PATH \
|
||||||
geos \
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
jemalloc \
|
|
||||||
&& mkdir -p $APP_PATH
|
|
||||||
|
|
||||||
# Use jemalloc
|
# Use jemalloc
|
||||||
ENV LD_PRELOAD=/usr/lib/libjemalloc.so.2
|
ENV LD_PRELOAD=/usr/lib/libjemalloc.so.2
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue