Skip to content

Commit

Permalink
Fix start.sh instead of duplicating Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoli Nicolae <[email protected]>
  • Loading branch information
anatolinicolae committed Jan 7, 2024
1 parent 65194dd commit d39dd72
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 58 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: image.Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
56 changes: 0 additions & 56 deletions image.Dockerfile

This file was deleted.

3 changes: 2 additions & 1 deletion start.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/sh -ex

# This file is how Fly starts the server (configured in fly.toml). Before starting
# the server though, we need to run any prisma migrations that haven't yet been
# run, which is why this file exists in the first place.
# Learn more: https://community.fly.io/t/sqlite-not-getting-setup-properly/4386

set -ex
npm run start

0 comments on commit d39dd72

Please sign in to comment.