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