|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
# Build compilation image |
|
|
|
|
FROM ruby:3.1.0-alpine3.14 as builder |
|
|
|
|
FROM ruby:3.0.3-alpine3.14 as builder |
|
|
|
|
|
|
|
|
|
# The application runs from /app |
|
|
|
|
WORKDIR /app |
|
|
|
@ -45,7 +45,7 @@ RUN rm -rf node_modules log tmp && \
|
|
|
|
|
find /usr/local/bundle/gems -name "*.html" -delete |
|
|
|
|
|
|
|
|
|
# Build runtime image |
|
|
|
|
FROM ruby:3.1.0-alpine as production |
|
|
|
|
FROM ruby:3.0.3-alpine as production |
|
|
|
|
|
|
|
|
|
# The application runs from /app |
|
|
|
|
WORKDIR /app |
|
|
|
|