This commit is contained in:
+1
-1
@@ -25,10 +25,10 @@ RUN bun build --target bun --minify --outfile /out/server.js ./server/index.ts
|
|||||||
|
|
||||||
FROM --platform=$TARGETPLATFORM oven/bun:1.3.14-alpine
|
FROM --platform=$TARGETPLATFORM oven/bun:1.3.14-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=bun-builder /out/server.js ./server.js
|
|
||||||
COPY --from=go-builder /out/tsrun-linux ./dist/tsrun-linux
|
COPY --from=go-builder /out/tsrun-linux ./dist/tsrun-linux
|
||||||
COPY --from=go-builder /out/tsrun-linux-upx ./dist/tsrun-linux-upx
|
COPY --from=go-builder /out/tsrun-linux-upx ./dist/tsrun-linux-upx
|
||||||
COPY --from=go-builder /out/tsrun.exe ./dist/tsrun.exe
|
COPY --from=go-builder /out/tsrun.exe ./dist/tsrun.exe
|
||||||
COPY --from=go-builder /out/tsrun-upx.exe ./dist/tsrun-upx.exe
|
COPY --from=go-builder /out/tsrun-upx.exe ./dist/tsrun-upx.exe
|
||||||
|
COPY --from=bun-builder /out/server.js ./server.js
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD ["bun", "./server.js"]
|
CMD ["bun", "./server.js"]
|
||||||
|
|||||||
+2
-2
@@ -20,8 +20,8 @@ const files = {
|
|||||||
const usageText = [
|
const usageText = [
|
||||||
"tsrun bootstrap service",
|
"tsrun bootstrap service",
|
||||||
"",
|
"",
|
||||||
`Linux: curl -L ${baseURL} | bash`,
|
"Linux: curl -L tsr.dgnr.us | bash",
|
||||||
`Windows: irm ${baseURL} | iex`,
|
"Windows: irm tsr.dgnr.us | iex",
|
||||||
"",
|
"",
|
||||||
"Raw binary endpoints:",
|
"Raw binary endpoints:",
|
||||||
` ${baseURL}${routes.linux}`,
|
` ${baseURL}${routes.linux}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user