This allows the image to start directly without needing to download anything
on every start. Also, this makes the image smaller since we don't need to install
any of the node dependencies
the end goal here is to be able to run wger-docker development stack
without having to run any manual commands; rather i just want to be
able to run the container and have it do all downloading/syncing and
then just start the webserver.
This was previously being added to react/main.css, but was creating problems
when django-compressor was activated (which is the default during production).
Adding the CSS outside of the compress block fixes this problem
I was getting this warning...:
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
...and later on, this failure:
Step 5/23 : RUN --mount=type=tmpfs,target=/root/.cargo pip3 wheel --no-cache-dir --wheel-dir /wheels -r requirements_docker.txt
the --mount option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled
This is simply the last date for the exercise, any of the translations, videos
or images. Also, we're renaming the date entries for some of the models. Things
like the workout routines, etc. still need to be changed, but those would break
the apps and need a bit more of planning
This was causing problems when users would submit new exercises, since the
new translations could not load the exercise
See also wger-project/react/issues/756
* remove git, which was not used
* use the base image for building, which saves us installing one or two things
* add a bunch of stuff so that the images build for arm/v7
In the future we will sync new ingredients from OFF if the user scanned a
product that is not known locally, so we will need an option to sync these
from a wger instance to another and this name is more general