make foodsoft run for dev on rails 7 and ruby 2.7
This commit is contained in:
parent
64eed00291
commit
5a07577afd
2 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM ruby:2.6
|
FROM ruby:2.7
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN deps='libmagic-dev chromium nodejs' && \
|
RUN deps='libmagic-dev chromium nodejs' && \
|
||||||
|
@ -19,6 +19,7 @@ ENV PORT=3000 \
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN gem install bundler
|
||||||
RUN bundle config build.nokogiri "--use-system-libraries"
|
RUN bundle config build.nokogiri "--use-system-libraries"
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
|
@ -11,6 +11,7 @@ services:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile-dev
|
dockerfile: Dockerfile-dev
|
||||||
|
platform: linux/x86_64
|
||||||
command: ./proc-start worker
|
command: ./proc-start worker
|
||||||
volumes:
|
volumes:
|
||||||
- bundle:/usr/local/bundle
|
- bundle:/usr/local/bundle
|
||||||
|
|
Loading…
Reference in a new issue