Skip to content

Commit

Permalink
updated to remove demo configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
genschmitt committed Dec 4, 2023
1 parent c664c3f commit 8ff3e48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# N.B.: this must match the Ruby version in the Gemfile, and /.ruby-version.
FROM ruby:3.1.2

ENV RUBY_ENV=demo
ENV RUBY_ENV=prod
ENV RAILS_LOG_TO_STDOUT=true
ENV RAILS_SERVE_STATIC_FILES=true
ENV RUBY_HOME=/extractor
Expand Down
6 changes: 3 additions & 3 deletions ecr-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
#

aws ecr get-login-password --region us-east-2 | docker login --username AWS --password-stdin 721945215539.dkr.ecr.us-east-2.amazonaws.com
docker build -t databank-archive-extractor-demo .
docker tag databank-archive-extractor-demo:latest 721945215539.dkr.ecr.us-east-2.amazonaws.com/databank-archive-extractor-demo:latest
docker push 721945215539.dkr.ecr.us-east-2.amazonaws.com/databank-archive-extractor-demo:latest
docker build -t databank-archive-extractor-prod .
docker tag databank-archive-extractor-prod:latest 721945215539.dkr.ecr.us-east-2.amazonaws.com/databank-archive-extractor-prod:latest
docker push 721945215539.dkr.ecr.us-east-2.amazonaws.com/databank-archive-extractor-prod:latest

0 comments on commit 8ff3e48

Please sign in to comment.