We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Information is incorrect
Problem: alpine doesn't have useradd command
error: When using COPY with more than one source file, the destination must be a directory and end with a / or a \
https://docs.docker.com/compose/file-watch/
Fix: RUN addgroup -g 1001 -S app && adduser -u 1001 -S app -G app
Fix: COPY COPY package.json .
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is this a docs issue?
Type of issue
Information is incorrect
Description
FROM node:18-alpine
RUN useradd -ms /bin/sh -u 1001 app
Problem: alpine doesn't have useradd command
COPY package.json package.lock .
error: When using COPY with more than one source file, the destination must be a directory and end with a / or a \
Location
https://docs.docker.com/compose/file-watch/
Suggestion
Fix:
RUN addgroup -g 1001 -S app && adduser -u 1001 -S app -G app
Fix:
COPY COPY package.json .
The text was updated successfully, but these errors were encountered: