Wolfinbarger / game-recommender

A full-stack web app that helps you discover awesome games to play with your friends or solo.
0 stars 0 forks source link

Issue 43: Dockerized API server. #44

Closed FreakyNobleGas closed 5 months ago

FreakyNobleGas commented 6 months ago

This PR fulfills issue #43 .

I added a Dockerfile to build the API server image and added some conditional logic to build the database settings.

The only configuration change you'll need to make is to make sure the value for the USER var in .env doesn't have quotes around it. (e.g. Instead of USER="myUser" it should simply be USER=myUser)

For testing out the new docker image, you can pull it from Dockerhub using the instructions in the README. If you want to build the image, I included instructions for that in the Dockerfile.