Skip to content

Commit

Permalink
Update dockerfile (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
K0IN committed Jul 13, 2023
1 parent d74c5dc commit da3448f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ RUN npm run build_all
FROM node:alpine
WORKDIR /usr/app

RUN npm install -g miniflare
RUN npm install -g miniflare@2.14.0

RUN apk update && apk add --no-cache curl

COPY --from=builder /usr/src/dist /usr/app/dist
Expand All @@ -20,4 +21,4 @@ COPY --from=builder /usr/src/wrangler.toml /usr/app/wrangler.toml

HEALTHCHECK CMD curl --fail http://localhost:8787 || exit 1

ENTRYPOINT [ "miniflare", "./dist/index.js", "--wrangler-config", "wrangler.toml", "--env", "app.env", "--build-command", ""]
ENTRYPOINT [ "miniflare", "./dist/index.js", "--wrangler-config", "wrangler.toml", "--env", "app.env", "--build-command", ""]

0 comments on commit da3448f

Please sign in to comment.