foobar / Dockerfile
aripbae's picture
Rename Dockerfile.bak to Dockerfile
d09fe07 verified
raw
history blame contribute delete
413 Bytes
FROM node:24-alpine
RUN apk add --no-cache \
chromium \
nss \
freetype \
freetype-dev \
harfbuzz \
ca-certificates \
ttf-freefont
ENV DEBUG true
ENV DEBUG_BODY true
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
ENV PUPPETEER_EXECUTABLE_PATH /usr/bin/chromium-browser
ENV PORT 7860
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 7860
CMD [ "npm", "start" ]