-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #227 from blackcandy-org/dev
Fix build error of docker image
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 \ | ||
|
@@ -14,8 +17,7 @@ RUN apk add --no-cache \ | |
nodejs \ | ||
yarn \ | ||
imagemagick \ | ||
ffmpeg \ | ||
gcompat | ||
ffmpeg | ||
|
||
WORKDIR /app | ||
|
||
|