From f37e449ada0565686a03ef3449658c8e1b419483 Mon Sep 17 00:00:00 2001 From: Maki Date: Tue, 27 Jul 2021 16:49:23 -0300 Subject: [PATCH] deploy --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 49297ce..a887ea7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # como el tarball van a tener que cambiar porque ya vamos a haber hecho # un clone/pull limpio. FROM alpine:3.13.5 AS build -MAINTAINER "f " +MAINTAINER "sutty " ARG RAILS_MASTER_KEY ARG BRANCH @@ -20,7 +20,7 @@ RUN test "2.7.3" = `ruby -e 'puts RUBY_VERSION'` # https://github.com/rubygems/rubygems/issues/2918 # https://gitlab.alpinelinux.org/alpine/aports/issues/10808 -RUN apk add --no-cache patch +RUN apk add --no-cache patch git COPY ./rubygems-platform-musl.patch /tmp/ RUN cd /usr/lib/ruby/2.7.0 && patch -Np 0 -i /tmp/rubygems-platform-musl.patch @@ -56,9 +56,6 @@ RUN rm -rf ./vendor RUN mv ../ectomobile/vendor ./vendor RUN mv ../ectomobile/.bundle ./.bundle -# Instalar secretos -COPY --chown=app:root ./config/credentials.yml.enc ./config/ - # Eliminar la necesidad de un runtime JS en producción, porque los # assets ya están pre-compilados. RUN sed -re "/(sassc|uglifier|bootstrap|coffee-rails)/d" -i Gemfile @@ -107,4 +104,3 @@ RUN install -m 755 /srv/http/entrypoint.sh /usr/local/bin/ectomobile # El puerto de puma EXPOSE 3000 -EXPOSE 9394