diff --git a/Dockerfile b/Dockerfile index 1967c89..cb8b560 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.2.2-alpine3.18 as ruby-builder +FROM ruby:3.2.2-alpine3.18 AS ruby-builder RUN apk --no-cache add build-base cmake git glib-dev postgresql14-dev @@ -8,7 +8,7 @@ RUN gem i foreman && BUNDLE_IGNORE_CONFIG=true bundle install -j$(nproc) \ && find /usr/local/bundle/gems/ -name "*.c" -delete \ && find /usr/local/bundle/gems/ -name "*.o" -delete -FROM node:18-alpine3.18 as node-builder +FROM node:18-alpine3.18 AS node-builder RUN apk --no-cache add git WORKDIR /app COPY package.json yarn.lock ./