diff --git a/Dockerfile.production b/Dockerfile.production index e13b3dc28e383013452320b0fe5047ff7b6f0612..229a70c108e0e82cb93f7ff66b28c77a648d3102 100644 --- a/Dockerfile.production +++ b/Dockerfile.production @@ -14,8 +14,8 @@ RUN apt-get update && apt-get install -y \ # Configure the main working directory. This is the base # directory used in any further RUN, COPY, and ENTRYPOINT # commands. -RUN mkdir -p /facem -WORKDIR /facem +RUN mkdir -p /facem-backoffice +WORKDIR /facem-backoffice # Set Rails to run in production ENV RAILS_ENV=production @@ -32,7 +32,6 @@ ENV BUNDLE_PACKAGER__DEV=$BUNDLE_PACKAGER__DEV # Doc: https://bundler.io/v2.3/man/bundle-install.1.html RUN gem install bundler && \ bundle config set without 'development test' && \ - bundle config set --local force_ruby_platform true && \ bundle install # Copy the rest of the application diff --git a/docker-compose.production.yml b/docker-compose.production.yml index dd7b19af54b36c6803f9b7bf4b6c0af22eb6a000..c3a7d84f5ee1dbaf0ca1a2a1b6a2cd266e0e8fbe 100644 --- a/docker-compose.production.yml +++ b/docker-compose.production.yml @@ -6,7 +6,7 @@ services: command: bash -c "rm -f tmp/pids/server.pid && bin/rails assets:precompile && bin/rails s -p 3000 -b '0.0.0.0'" hostname: app10.cc.univie.ac.at volumes: - - .:/gitlab.phaidra.org/facem/facem-backoffice + - .:/facem-backoffice ports: - "3000:3000" env_file: