Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Update README to include Docker compose directions. Fix docker-entry.sh not being executable. Update Dockerfile to fix opting-bin install issue on arm64 #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ ENV PATH /app/node_modules/.bin:$PATH
# install and cache app dependencies
COPY package.json /app/package.json

# https://github.com/imagemin/optipng-bin/issues/97
ENV CPPFLAGS="-DPNG_ARM_NEON_OPT=0"

ENTRYPOINT ["/app/docker-entry.sh"]
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ Fill out `.env.sample` and save it as `.env`.

`npm start` to run the production server at port 3001 (or a specified PORT).

### Using Docker

```bash
$ docker compose create
$ docker compose up
```

## Developer notes

We use [Husky](https://github.com/typicode/husky) to manage Git hooks.
Expand Down
Empty file modified docker-entry.sh
100644 → 100755
Empty file.