Comments (4)
Nothing to do with the documentation rather I would suggest making sure you installed sharp and gyp and build tools for your machine etc that does the building.
This depends on your OS and should be documented here https://github.com/nodejs/node-gyp once that is installed docker will use that to setup dockers build environment as well.
from documentation.
Using the same machine to build, this seems to work fine using node:18-bullseye
which is what we've wound up going with for now instead of node:18-alpine
?
from documentation.
So the reason that bullseye
might work is that is the full version of debian and not alpine.
With alpine you get a small footprint but also you need to add all dependencies etc as needed.
I took the Dockerfile
you had in this issue and copied into mine and it built fine.
Did you add a .dockerignore
file to prevent copying things over from the host machine which can cause the issue.
https://docs.strapi.io/dev-docs/installation/docker#optional-dockerignore
from documentation.
I want to thank you a bunch. I didn't even realize the .dockerignore was not there anymore (I need to have a talk with one of the devs). Thank you again and apologies for the bother.
from documentation.
Related Issues (20)
- Wrong Heroku CLI install command for Ubuntu HOT 1
- Using strapi types in a frontend application HOT 2
- [Request]: Add specific documentation to working with components and dynamic zones HOT 1
- Bug in DigitalOcean Droplet deployment doc HOT 1
- Typo in Digital Ocean docs HOT 1
- Component environment variables cannot be added until project has started HOT 1
- Upgrade versions need to include a line that tells you to delete node_modules
- [Request]: Adding mdw to >all< routes of one content type HOT 1
- Clarify that you need to use .ts files when extending plugins if you use TypeScript HOT 1
- Data transfer - Test the transfer command locally - instructions do not work
- wrong resolve path in example HOT 1
- Missing deep object structure filtering? HOT 7
- DOCS: Complex filtering mentions fields which are not in the example
- DOCS: Deep filtering mentions fields which are not in the example
- [v5] defaultIndex is removed and not included in breaking changes HOT 2
- [Request]: Adding a guide on deploying Sprapi using cPanel HOT 6
- [Request]: HOT 1
- v5 documents completely change how lifecycles work, not documented as a breaking change HOT 13
- Get started Button is not redirecting to the docs HOT 3
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 documentation.