-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
alpine:~/nginx# docker build -t my-nginx-container .
[+] Building 1.2s (1/1) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.4s
=> => transferring dockerfile: 226B 0.2s
Dockerfile:1
1 | >>> FROM nginx:alpine RUN rm /etc/nginx/conf.d/default.conf COPY nginx.conf
2 | /etc/nginx/conf.d/ COPY index.html /usr/share/nginx/html/index.html
3 | EXPOSE 80
ERROR: failed to solve: dockerfile parse error on line 1: FROM requires either one or three arguments
alpine:~/nginx#
Showing this error
Metadata
Metadata
Assignees
Labels
No labels