Skip to content

Commit ab28b00

Browse files
committed
Dockerfile: fix errors and warnings.
1 parent 4b214a3 commit ab28b00

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG RUBY_VERSION
1+
ARG RUBY_VERSION=3
22
FROM ruby:$RUBY_VERSION-alpine
33

44
RUN apk --update add build-base
@@ -9,6 +9,10 @@ USER strap
99
WORKDIR /app
1010
COPY . .
1111

12+
ENV RACK_ENV="production" \
13+
BUNDLE_DEPLOYMENT="1" \
14+
BUNDLE_WITHOUT="development"
15+
1216
RUN script/bootstrap
1317

1418
HEALTHCHECK --interval=5m --timeout=3s \

0 commit comments

Comments
 (0)