Skip to content

Commit

Permalink
Update version to 2.0.2.3
Browse files Browse the repository at this point in the history
Update Docker build to include database name in Dockerfile to ensure the correct database is passed through.
  • Loading branch information
PhlexPlexico committed Apr 5, 2024
1 parent 3b8f7c5 commit ca309c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN yarn
RUN yarn build
# set config with env variables, build, and run application
CMD envsubst < /Get5API/config/production.json.template > /Get5API/config/production.json && \
yarn db-migrate MYSQL_FLAGS=\"-CONNECT_WITH_DB\" --env production --config config/production.json db:create $DATABASE && \
MYSQL_FLAGS=\"-CONNECT_WITH_DB\"; yarn db-migrate --env production --config config/production.json db:create $DATABASE && \
yarn migrate-prod-upgrade && \
yarn startprod && \
yarn pm2 logs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "g5api",
"version": "2.0.2.2",
"version": "2.0.2.3",
"private": true,
"type": "module",
"licenses": [
Expand Down

0 comments on commit ca309c8

Please sign in to comment.