Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files7 unmodified lines89101112131415161718197 unmodified lineshtop vim nano && \rm -rf /var/lib/apt/lists/*WORKDIR /appCOPY --link ./ /appRUN npm i# The base image already creates a user with 1000, no need to call useraddRUN chown 1000 /appUSER 1000CMD ["node", "index.js"]7 unmodified lines89101112131415161718197 unmodified lineshtop vim nano && \rm -rf /var/lib/apt/lists/*# The base image already creates a user with 1000, no need to call useradd# RUN useradd -m -u 1000 userUSER 1000WORKDIR /appCOPY --chown=user --link ./ /appRUN npm iCMD ["node", "index.js"]
Dockerfile+6-6