Skip to content

Commit 5162df0

Browse files
committed
refactor Dockerfile environment variable syntax and update Gemfile.lock platform entries
1 parent 95965df commit 5162df0

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
ARG RUBY_VERSION=3.3.6
33
FROM ruby:${RUBY_VERSION}-alpine as builder
44

5-
ENV HOME=/app \
6-
RAILS_ENV=production \
7-
RAILS_SERVE_STATIC_FILES=true \
8-
SECRET_KEY_BASE=abcdefgh12345678
5+
ENV HOME /app
6+
ENV RAILS_ENV production
7+
ENV RAILS_SERVE_STATIC_FILES true
8+
ENV SECRET_KEY_BASE abcdefgh12345678
99
WORKDIR $HOME
1010

1111
ADD .ruby-version $HOME/
@@ -36,10 +36,10 @@ RUN rm -rf node_modules tmp/cache vendor/assets spec
3636
### ------- Production ------- ###
3737
FROM ruby:${RUBY_VERSION}-alpine
3838

39-
ENV HOME=/app \
40-
RAILS_ENV=production \
41-
RAILS_SERVE_STATIC_FILES=true \
42-
SECRET_KEY_BASE=abcdefgh12345678
39+
ENV HOME=/app
40+
ENV RAILS_ENV production
41+
ENV RAILS_SERVE_STATIC_FILES true
42+
ENV SECRET_KEY_BASE abcdefgh12345678
4343
WORKDIR $HOME
4444

4545
RUN apk update && apk upgrade && \

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,10 +432,10 @@ GEM
432432
zeitwerk (2.7.1)
433433

434434
PLATFORMS
435-
aarch64-linux
436435
aarch64-linux-gnu
437436
aarch64-linux-musl
438-
x86_64-linux
437+
x86_64-linux-gnu
438+
x86_64-linux-musl
439439

440440
DEPENDENCIES
441441
aws-sdk-s3 (~> 1.159)

0 commit comments

Comments
 (0)