@hasna/switcher 0.2.3 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Dockerfile CHANGED
@@ -15,8 +15,7 @@ RUN bun run generate \
15
15
 
16
16
  FROM --platform=linux/arm64 oven/bun:1.3.14-alpine AS runtime
17
17
  ENV NODE_ENV=production \
18
- PORT=8080 \
19
- HOST=0.0.0.0
18
+ PORT=8080
20
19
  WORKDIR /app
21
20
  RUN apk upgrade --no-cache \
22
21
  && apk add --no-cache ca-certificates wget \
@@ -38,4 +37,4 @@ USER bun
38
37
  EXPOSE 8080
39
38
  HEALTHCHECK --interval=20s --timeout=5s --start-period=15s --retries=3 \
40
39
  CMD bun -e 'fetch("http://127.0.0.1:8080/ready").then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))'
41
- CMD ["switcher-serve"]
40
+ CMD ["switcher-serve", "--host", "0.0.0.0"]