png to webp

This commit is contained in:
2025-03-16 21:18:31 +08:00
parent 3fca970100
commit 0e1fe0b656
66 changed files with 63 additions and 33 deletions

View File

@@ -3,11 +3,13 @@ FROM node:18-alpine
WORKDIR /app
COPY package.json .
RUN npm install
RUN npm install -g serve
COPY . .
RUN npm run build
EXPOSE 3000
CMD ["npm", "run", "dev"]
# Serve the static files after building
CMD ["serve", "-s", "dist", "-l", "3000"]