Skip to content

Commit

Permalink
modify dockerfile for new image
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamfall committed Nov 29, 2023
1 parent 3e58af6 commit 22712aa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 22712aa

Please sign in to comment.