google-labs-jules[bot]
Fix README header format
7235cc7
Raw History Blame Contribute Delete
431 Bytes
FROM node:20-slim
WORKDIR /app
RUN apt-get update && apt-get install -y python3 make g++ sqlite3 && rm -rf /var/lib/apt/lists/*
COPY package*.json ./
RUN npm install
COPY tsconfig.json ./
COPY src/ ./src/
COPY views/ ./views/
COPY public/ ./public/
RUN npm run build
RUN mkdir -p uploads/userpics uploads/thumbs uploads/normal
EXPOSE 8080
ENV PORT=8080
ENV DATABASE_PATH=/app/data/gallery.db
CMD ["node", "dist/index.js"]