Closed
Description
Dockerfile:
FROM ruby:3.1.2-alpine
WORKDIR /app
COPY . .
RUN apk add --update --no-cache build-base gcc g++ git less tzdata \
libstdc++ libffi-dev libc-dev sqlite-dev postgresql-dev build-base gcompat
RUN gem install bundler
RUN bundle lock --add-platform x86_64-linux
RUN bundle --verbose
ENV RAILS_ENV=production
RUN bundle exec rails assets:clean assets:precompile
EXPOSE 3000
CMD ["rails", "server", "-b", "0.0.0.0"]
Results in error:
Tailwindcss::Commands::UnsupportedPlatformException: tailwindcss-rails does not support the x86_64-linux platform
Metadata
Metadata
Assignees
Labels
No labels