Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,11 @@ docker run -p 8080:8080 image-optimizer

## Demo Pages

- [Cloud CDN Demo Page](https://images.thegoogle.cloud/cdn-IO.html)
- [Cloud CDN Demo Page](https://cdn.thegoogle.cloud/demo/cdn-IO.html)
- [Media CDN Demo Page](https://media-cdn.thegoogle.cloud/image-opt-demo.html)

---

## License

This project is licensed under the [MIT License](LICENSE).
This project is licensed under the [MIT License](LICENSE).
6 changes: 3 additions & 3 deletions src/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build base used for global libvips
FROM node:20-alpine3.20 as builder
FROM node:20-alpine3.20 AS builder

# install jxl for JPEG XL support
# To-do: add "vips-heif" back once AVIF issue is fixed
Expand All @@ -26,7 +26,7 @@ RUN npm install
COPY . .

# final base used for delivery
FROM node:20-alpine3.20 as final
FROM node:20-alpine3.20 AS final

# Create app directory
WORKDIR /usr/src/app
Expand All @@ -45,4 +45,4 @@ COPY --from=builder /usr/src/app/index.js ./index.js

# run index.js
EXPOSE 8080
CMD [ "node", "index.js" ]
CMD [ "node", "index.js" ]
Loading