Comments (9)
It's totally possible, you can build an ARM/ARM64 container yourself, as long as you have docker.
Run the following commands to build your own image on whatever architecture you're on:
git clone https://github.com/tamland/airsonic-frontend.git
cd airsonic-frontend
docker run --rm -it -v $(pwd):/source node /bin/bash
Then, inside the node
container:
cd /source
yarn install
yarn build
exit
Now that we have the app built, we can build the container:
docker build -t tamland/airsonic-frontend -f ./docker/Dockerfile --no-cache .
Then to run a container based on that just-built image:
docker run -p [YOUR-LOCAL-PORT]:80 tamland/airsonic-frontend
from airsonic-refix.
With your instructions built fine for ARM64 - thank you!
from airsonic-refix.
I'm a bit of a noob with this - is there a way to run a docker container that I can build in so that i don't mess up my server (Odroid)? The server is live and would rather load the build tools in a container so i can dump everything clean if I mess up.
from airsonic-refix.
That is exactly what I have given you in the comment above. As long as the building container exports a volume where the source is, you could also do the "git clone" inside the node container, as long as that image has git.
from airsonic-refix.
I suppose you could also download the zip file:
https://github.com/tamland/airsonic-frontend/archive/master.zip
And just unzip that to the "source" folder as well.
from airsonic-refix.
Ah - i kind of see now, it's slowly sinking in - thank you! I will give this a try. Thank you so much for your help.
from airsonic-refix.
Happy to include this in the CI build if it's possible 🤷♂️
from airsonic-refix.
I'm not sure how this works if you are trying to cross-compile for a different architecture. I performed those steps on an ARM64 machine (an RPi 4) to get an ARM64 image
from airsonic-refix.
For people trying to run this now, a package, eslint-import-resolver-webpack
doesn't support node 17, getting an incompatible module error when doing yarn install
:
error [email protected]: The engine "node" is incompatible with this module. Expected version "^16 || ^15 || ^14 || ^13 || ^12 || ^11 || ^10 || ^9 || ^8 || ^7 || ^6". Got "17.0.1"
error Found incompatible module.
To get it working, just downgrade node to 16: docker run --rm -it -v $(pwd):/source node:16-bullseye /bin/bash
instead of docker run --rm -it -v $(pwd):/source node /bin/bash
from SteveDinn's comment. The rest of the commands are working as expected.
from airsonic-refix.
Related Issues (20)
- Podcasts with long descriptions don't display length or Actions menu HOT 4
- Play All and Shuffle All buttons on artist page draw on the "top tracks", not all tracks
- Play All/Play Random/Add All buttons missing from views that aren't album/artist
- EOL Vue 2 on December 31st, 2023.
- [Feature request] Request Download Podcast From Server HOT 1
- [Feature request] Remember position of podcast
- vue 3 update?
- Airsonic-refix Gonic HOT 5
- Folder selection is not available
- Collection by Folder
- Is it possible to bypass the login page and just pass the auth as basic auth?
- [BUG] Cannot destructure property 'id' of 't.getters.player/track' as it is undefined.
- Feature Request Navigate A-Z artists by first letter
- Feature request: Allow re-ordering of "Playing" queue
- [Feature Request] Configure Maximum number of songs/artists/albums to return in search HOT 1
- Does not display album or song photo
- Can you make a view that doesn't have any images? HOT 7
- error on empty playlist -- suppress/eliminate/acknowledge? HOT 5
- Demo is broken .... HOT 1
- [Feature] Legacy authentication (for authentication against Lightweight Music Server) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airsonic-refix.