Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
eoftedal committed Oct 11, 2023
1 parent 2fa8021 commit e9f4484
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ the normal `node_modules` etc layers will not be added, and workdir, user and en
if needed).

```
npm run build
npm run build # or some other build command
containerify --fromImage nginx:alpine --folder . --toImage frontend:latest --customContent dist:/usr/share/nginx/html --toRegistry https://registry.example.com/v2/
```

This will take nginx:alpine and copy the files in `./dist/` into `/usr/share/nginx/html`.
This will take the `nginx:alpine` image, and copy the files from `./dist/` into `/usr/share/nginx/html`. By default it does _NOT_ modify then entrypoint, user or workdir, so the base image settings are still used when running. You can still override with `--entrypoint` etc. if needed.

### Command line options

Expand Down

0 comments on commit e9f4484

Please sign in to comment.