Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Dockerfile for deployments #1602

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Conversation

AndrewKostka
Copy link
Collaborator

No description provided.

Copy link
Member

@ethn ethn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comments/questions, but this looks very solid and mergeable to me.

btw, I would recommend that you make PRs to main branch. That triggers more thorough testing.

RUN cp -R config/sample/* config && \
rm -R config/sample

RUN bundle config without test cucumber cypress development profile
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alternatively you could copy a .bundle/config file. Not a dramatic difference, but maybe some day we'll want to tweak other bundle configurations...

@@ -96,7 +97,6 @@ gem "timecop", group: %i[test cucumber] # date/time manipulation in tests
group :test, :development do
# gem "debase"
gem "decko-spring", path: "./vendor/decko/support"
gem "puma", "~>5.6" # local webserver (6.x broke semaphore )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the notion that this is an interim solution and that we'll move to something more powerful before going live? Puma is a pretty lightweight webserver. I'd have to look a little more closely at our apache configurations to make specific arguments about what it can and can't do.

But maybe the idea is that since each container has its own webserver, ligthweight is best?

@ethn ethn merged commit 5625b83 into wikirate:staging Apr 26, 2024
1 check passed
@AndrewKostka AndrewKostka deleted the dockerize branch May 5, 2024 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants