Comments (6)
Is your application public? Can you share the repo including captain-definition
file you're using?
If it's private, can you please share the captain-definition file you're using for this project and some basic information about the project (whether it's a plain expressjs application or it's react or etc...)
from caprover.
Unfortunately it's private but I'll share what I can.
This is my captain-definition
{
"schemaVersion" :1 ,
"templateId" :"node/8.9.3"
}
It's a Angular 5 app which is served from expressjs for server side rendering. Would the package.json be useful as well?
from caprover.
Sure. package.json
will be helpful. I'll try to repro it tonight.
Just to make sure, your project structure is something like this, right?
project-directory
.git
package.json
captain-definition
OTHER_STUFF
from caprover.
Yes my project structure looks correct
and my package.json is
{
"name": "app-client",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "node server.js",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"engines": {
"node": "8.x"
},
"private": true,
"dependencies": {
"@angular/animations": "^5.1.0",
"@angular/common": "^5.1.0",
"@angular/compiler": "^5.1.0",
"@angular/core": "^5.1.0",
"@angular/forms": "^5.1.0",
"@angular/http": "^5.1.0",
"@angular/platform-browser": "^5.1.0",
"@angular/platform-browser-dynamic": "^5.1.0",
"@angular/platform-server": "^5.1.0",
"@angular/router": "^5.1.0",
"@angular/service-worker": "5.1.0",
"@nguniversal/express-engine": "^5.0.0-beta.5",
"@nguniversal/module-map-ngfactory-loader": "^5.0.0-beta.5",
"angular-tinymce": "^3.1.4",
"angular2-cookie-law": "^1.3.1",
"angular2-toaster": "^4.0.1",
"angulartics2": "^4.0.1",
"bootstrap": "^4.0.0-beta.2",
"cloudinary-core": "^2.3.0",
"compression": "^1.7.1",
"cookie-parser": "^1.4.3",
"cookie-storage": "^3.0.0",
"core-js": "^2.4.1",
"dotenv": "^4.0.0",
"express": "^4.15.3",
"express-letsencrypt-simple": "^1.0.1",
"express-minify-html": "^0.11.5",
"express-redirect": "^1.2.2",
"express-serve-static-core": "^0.1.1",
"express-subdomain": "^1.0.5",
"feathers": "^2.2.3",
"feathers-authentication-client": "^0.3.1",
"feathers-client": "^2.0.0",
"feathers-hooks": "^2.1.2",
"feathers-hooks-common": "^3.6.1",
"feathers-reactive": "^0.5.4",
"feathers-socketio": "^2.0.1",
"flexboxgrid-sass": "^8.0.5",
"flickity": "^2.0.10",
"font-awesome": "^4.7.0",
"forcedomain": "^0.8.1",
"imagesloaded": "^4.1.3",
"intersection-observer": "^0.4.3",
"intl": "^1.2.5",
"jsonwebtoken": "^8.0.1",
"lodash": "^4.17.4",
"moment": "^2.18.1",
"ms": "^2.0.0",
"ng-inline-svg": "^5.1.1",
"ng2-charts": "^1.6.0",
"ng2-daterangepicker": "^2.0.7",
"ng2-dragula": "^1.5.0",
"ng2-select": "^1.2.0",
"ngx-auto-unsubscribe": "^2.1.0",
"ngx-bootstrap": "^2.0.0-beta.9",
"ngx-dropzone-wrapper": "^4.6.5",
"ngx-json-ld": "^0.1.7",
"ngx-slimscroll": "3.3.0",
"normalize.css": "^7.0.0",
"npm-run-all": "^4.0.2",
"packery": "^2.1.1",
"rollbar": "^2.3.1",
"rxjs": "^5.5.5",
"shrink-ray": "^0.1.3",
"simple-line-icons": "^2.4.1",
"socket.io-client": "^2.0.4",
"tinymce": "^4.7.2",
"web-animations-js": "^2.2.5",
"zone.js": "^0.8.18"
},
"devDependencies": {
"@angular/cli": "^1.6.0",
"@angular/compiler-cli": "^5.1.0",
"@angular/language-service": "^5.1.0",
"@types/imagesloaded": "^4.1.0",
"@types/jasmine": "~2.5.53",
"@types/jasminewd2": "~2.0.2",
"@types/node": "~6.0.60",
"@types/socket.io-client": "^1.4.31",
"@types/uglify-js": "^2.6.29",
"codelyzer": "^4.0.0",
"jasmine-core": "~2.6.2",
"jasmine-spec-reporter": "~4.1.0",
"karma": "~1.7.0",
"karma-chrome-launcher": "~2.1.1",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.1.2",
"ts-loader": "^3.1.1",
"ts-node": "~3.2.0",
"tslint": "^5.8.0",
"typescript": "~2.4.2",
"webpack-bundle-analyzer": "^2.8.2"
}
}
from caprover.
Actually let me do some more testing as I have an idea what it might be. I'd missed that in captain-definition you could add dockerfileLines
and in my previous attempts at starting to use docker I found that I needed to include the following in my Dockerfile for one of the npm packages.
RUN apk update \
&& apk upgrade \
&& apk add --no-cache --virtual .gyp \
python \
make \
g++ \
from caprover.
I have it working now I did need to have the custom build.
from caprover.
Related Issues (20)
- Authorisation Provider integration (AWS Cognito, Google Firebase, ...) HOT 2
- Add some kind of last modified date to the one click apps
- How to deativate basic auth once enabled HOT 1
- portmapping to localhost/ip and UFW HOT 1
- [Deployment Issue] Poste.io 502 NGINX HOT 1
- Deploy for localhost HOT 4
- Immich One Click Apps Latest Version Problem HOT 4
- How to clone a server without downtime and with the exact same app domain as before? HOT 1
- Swagger/OpenAPI
- Can't get any custom apps to work HOT 12
- [Question] Is possible insecure registry? HOT 3
- Caprover Deployment to Virtual Server using ARM HOT 6
- Cannot "Enable HTTPS" for app on Caprover instance behind firewall with custom certificates. 1107 error. HOT 3
- [Question] Connecting wildcard domain HOT 1
- Support Colon for Bulk Edit HOT 3
- SSL for initialization of Caprover with docker HOT 2
- [Deployment Issue] Caprover crashes after few minutes, restarts to crash again HOT 3
- [Question] How do I change the storage device for the self-hosted docker registry? HOT 1
- Unable to SSH to Server after deployment HOT 3
- create domin via api, using axios HOT 1
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 caprover.