Skip to content

Commit

Permalink
Vite docker fix (#233)
Browse files Browse the repository at this point in the history
* try to specify dockerfile in moved location

* fix comment in dockerfile
  • Loading branch information
thadk authored Aug 19, 2024
1 parent 8dc87ab commit d813a53
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 5 additions & 2 deletions heat-stack/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ source = "data"
destination = "/data"

[build]
dockerfile = "/other/Dockerfile"
ignorefile = "/other/Dockerfile.dockerignore"
# github actions moves these for now, but upstream they no longer need to be moved:
dockerfile = "Dockerfile"
ignorefile = "Dockerfile.dockerignore"
# dockerfile = "/other/Dockerfile"
# ignorefile = "/other/Dockerfile.dockerignore"

[[services]]
internal_port = 8080
Expand Down
4 changes: 3 additions & 1 deletion heat-stack/other/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ COPY --from=build /myapp/node_modules/.prisma /myapp/node_modules/.prisma

COPY --from=build /myapp/server-build /myapp/server-build
COPY --from=build /myapp/build /myapp/build
COPY --from=build /myapp/public /myapp/public // HEAT Stack custom line for Pyodide

# HEAT Stack custom line for Pyodide
COPY --from=build /myapp/public /myapp/public
COPY --from=build /myapp/package.json /myapp/package.json
COPY --from=build /myapp/prisma /myapp/prisma
COPY --from=build /myapp/app/components/ui/icons /myapp/app/components/ui/icons
Expand Down

0 comments on commit d813a53

Please sign in to comment.