Skip to content

Commit

Permalink
chore: switch base images (wundergraph#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
StarpTech authored Dec 21, 2023
1 parent 4bb9a81 commit 38aef9a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion controlplane/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN curl -fsSL -o /usr/local/bin/dbmate https://github.com/amacneil/dbmate/relea
# Deploy
RUN pnpm --filter=./controlplane --prod deploy pruned

FROM node:18-slim
FROM node:18-alpine

WORKDIR /app

Expand Down
4 changes: 2 additions & 2 deletions graphqlmetrics/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ RUN make test
# Build router
RUN make build VERSION=${VERSION}

FROM gcr.io/distroless/static:latest
FROM gcr.io/distroless/base-debian12

COPY --from=builder /app/graphqlmetrics /graphqlmetrics
COPY --from=builder /app/migrations /migrations

ENTRYPOINT ["/graphqlmetrics"]
CMD ["/graphqlmetrics"]

EXPOSE 4005
4 changes: 2 additions & 2 deletions router/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ RUN make test
# Build router
RUN make build VERSION=${VERSION}

FROM gcr.io/distroless/static:latest
FROM gcr.io/distroless/base-debian12

COPY --from=builder /app/router /router

ENTRYPOINT ["/router"]
CMD ["/router"]

EXPOSE 3002

0 comments on commit 38aef9a

Please sign in to comment.