Skip to content

Commit

Permalink
add heroku port to env file
Browse files Browse the repository at this point in the history
  • Loading branch information
klydra committed Jun 27, 2024
1 parent 8647230 commit be1fabd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/heroku.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
touch .env
echo "TURSO_DATABASE_URL=${{ secrets.TURSO_DATABASE_URL }}" >> .env
echo "TURSO_AUTH_TOKEN=${{ secrets.TURSO_AUTH_TOKEN }}" >> .env
echo "ELYSIA_API_PORT=80" >> .env
# echo "ELYSIA_API_PORT=80" >> .env
- name: Build Docker image
run: docker build -t ${{ secrets.HEROKU_APP_NAME }} .
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ COPY package.json /app
RUN bun install --frozen-lockfile --production

USER bun
EXPOSE 80/tcp
CMD [ "echo", "ELYSIA_API_PORT=$PORT", ">>", ".env" ]
ENTRYPOINT [ "bun", "prod" ]

0 comments on commit be1fabd

Please sign in to comment.