netakhoj-api / Dockerfile
Rakeshops71
Fix file permissions in Dockerfile for pptruser
62b8679
Raw
History Blame Contribute Delete
318 Bytes
FROM ghcr.io/puppeteer/puppeteer:21.5.2
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome-stable \
PORT=7860
WORKDIR /app
COPY --chown=pptruser:pptruser package*.json ./
RUN npm install
COPY --chown=pptruser:pptruser . .
EXPOSE 7860
CMD [ "node", "server.js" ]