Create Dockefile

This commit is contained in:
2025-12-29 19:13:04 -08:00
committed by GitHub
parent c401ddf3d7
commit f46eff151a

16
Dockefile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:20-bookworm-slim
RUN apt-get update && apt-get install -y \
libheif1 libheif-dev \
libvips libvips-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm ci || npm i
COPY server.js ./
ENV PORT=8080
EXPOSE 8080
CMD ["node", "server.js"]