From 22712aadd6c84283ad0fef3703882d25e6954ca4 Mon Sep 17 00:00:00 2001 From: Vasili Kachalko Date: Wed, 29 Nov 2023 13:10:26 +0100 Subject: [PATCH] modify dockerfile for new image --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 24f7f88b2..f7aae8d89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,10 +9,10 @@ WORKDIR /app # ENV SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt # Install NodeJS -RUN apt-get update -RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash - -RUN apt-get install -y nodejs -RUN npm install yarn -g +RUN sudo apt-get update +# RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash - +# RUN sudo apt-get install -y nodejs +# RUN npm install yarn -g ENV CURL_CONNECT_TIMEOUT=0 CURL_TIMEOUT=0 GEM_PATH="$HOME/vendor/bundle/ruby/${RUBY_VERSION}:$GEM_PATH" LANG=${LANG:-en_US.UTF-8} PATH="$HOME/bin:$HOME/vendor/bundle/bin:$HOME/vendor/bundle/ruby/${RUBY_VERSION}/bin:$PATH" RACK_ENV=${RACK_ENV:-production} RAILS_ENV=${RAILS_ENV:-production} RAILS_SERVE_STATIC_FILES=${RAILS_SERVE_STATIC_FILES:-enabled} SECRET_KEY_BASE=${SECRET_KEY_BASE:-PLACEHOLDERSECRETBASEKEY}