Skip to content
New issue

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

Add dockerfile #167

Closed
wants to merge 1 commit into from
Closed
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
1 change: 1 addition & 0 deletions .erb/configs/webpack.config.renderer.web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ const configuration: webpack.Configuration = {

devServer: {
port,
allowedHosts: 'all',
compress: true,
hot: true,
headers: { 'Access-Control-Allow-Origin': '*' },
Expand Down
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM node:16.15.0

RUN apt update -qq \
&& apt install -qy \
wget \
mpv \
libnss3-dev \
git

COPY . /feishin
WORKDIR /feishin

RUN npm install
RUN npm run build

CMD npm run start:web
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ If you're using an M1 macOS device, [check here](https://github.com/jeffvli/feis

- **Navidrome** - For the best experience, select "Save password" when creating the server and configure the `SessionTimeout` setting in your Navidrome config to a larger value (e.g. 72h).

## Docker

```bash
docker build -t feishin .
docker run -p 4343:4343 feishin
```

Go to http://localhost:4343

## FAQ

### What music servers does Feishin support?
Expand Down