mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 05:28:59 +00:00
- Added @resvg/resvg-js dependency for SVG to PNG/JPG conversion. - Implemented pregeneration of PNG and JPG images from SVG files in the scanLogos script. - Enhanced copy URL functionality in App.svelte to support modern clipboard API with fallbacks. - Removed unnecessary onCopy prop from LogoActions component and handled copy actions locally. - Introduced notification system for copy actions with success/error feedback. - Updated styles for action buttons and notifications for better user experience. - Cleaned up unused code and improved overall structure for clarity.
16 lines
242 B
Docker
16 lines
242 B
Docker
FROM node:slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package*.json ./
|
|
|
|
RUN npm install
|
|
|
|
# Only copy minimal files for initial build, source will be mounted
|
|
COPY public/index.html public/global.css ./public/
|
|
|
|
EXPOSE 5000
|
|
EXPOSE 35729
|
|
|
|
CMD ["npm", "run", "dev"]
|