Skip to content

Commit

Permalink
Fix build error of docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
aidewoode committed Nov 25, 2022
1 parent 5d3e48b commit 4358a82
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
FROM ruby:3.1.2-alpine

LABEL maintainer="[email protected]/aidewoode"

ENV LANG C.UTF-8
ENV RAILS_ENV production
ENV NODE_ENV production
ENV RAILS_SERVE_STATIC_FILES true

LABEL maintainer="[email protected]/aidewoode"
# build for musl-libc, not glibc (see https://github.com/sparklemotion/nokogiri/issues/2075, https://github.com/rubygems/rubygems/issues/3174)
ENV BUNDLE_FORCE_RUBY_PLATFORM 1

RUN apk add --no-cache \
tzdata \
Expand All @@ -14,8 +17,7 @@ RUN apk add --no-cache \
nodejs \
yarn \
imagemagick \
ffmpeg \
gcompat
ffmpeg

WORKDIR /app

Expand Down

0 comments on commit 4358a82

Please sign in to comment.