mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
Refactor Dockerfiles for improved readability
Split long RUN commands in Dockerfile.dev and Dockerfile.prod into multiple lines for better readability and maintainability. No functional changes were made.
This commit is contained in:
parent
175dca7a49
commit
47704d2297
2 changed files with 6 additions and 2 deletions
|
|
@ -12,7 +12,9 @@ ENV SIDEKIQ_PASSWORD=password
|
|||
# Resolving sqlite3 error
|
||||
ENV PGSSENCMODE=disable
|
||||
|
||||
RUN apt-get update -qq && apt-get upgrade -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
RUN apt-get update -qq \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get upgrade -qq \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
wget \
|
||||
build-essential \
|
||||
git \
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@ ENV RAILS_LOG_TO_STDOUT=true
|
|||
ENV RAILS_PORT=3000
|
||||
ENV RAILS_ENV=production
|
||||
|
||||
RUN apt-get update -qq && apt-get upgrade -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
RUN apt-get update -qq \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get upgrade -qq \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
wget \
|
||||
build-essential \
|
||||
git \
|
||||
|
|
|
|||
Loading…
Reference in a new issue