-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bun it up! * docker files * Update README.md * use Bun * Update docker-build.yml * Delete .github/workflows/docker-publish.yml * Update docker-build.yml
- Loading branch information
Showing
43 changed files
with
539 additions
and
4,812 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM oven/bun:1 AS build | ||
WORKDIR /app | ||
COPY . . | ||
RUN bun install | ||
RUN bun build ./hepop.js --compile --outfile /app/hepop | ||
RUN chmod +x /app/hepop | ||
|
||
FROM gcr.io/distroless/cc | ||
WORKDIR /app | ||
COPY --from=build /app/hepop /app/hepop | ||
EXPOSE 9069/udp | ||
EXPOSE 9069/tcp | ||
CMD [ "./hepop" ] |
Oops, something went wrong.