nsfwcheck-api / Dockerfile
caliphdev's picture
Update Dockerfile
8041f83 verified
raw
history blame contribute delete
242 Bytes
FROM node:latest
RUN useradd -m kalip
USER kalip
ENV HOME=/home/kalip PORT=7860
WORKDIR $HOME/app
COPY package.json .
RUN npm install
COPY . .
COPY --chown=kalip . $HOME/app
RUN chmod -R 777 $HOME
EXPOSE 7860
CMD ["node", "index.js"]