File tree Expand file tree Collapse file tree 3 files changed +34
-3
lines changed
Expand file tree Collapse file tree 3 files changed +34
-3
lines changed Original file line number Diff line number Diff line change 11node_modules
22songs
3+ .nx
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ RUN apt-get update && \
1111
1212ENV SSL_VERSION=1.0.2o
1313
14- RUN curl https://www. openssl.org/source/ openssl-$SSL_VERSION.tar.gz -O && \
14+ RUN wget https://github.com/ openssl/openssl/releases/download/OpenSSL_1_0_2o/ openssl-$SSL_VERSION.tar.gz && \
1515 tar -xzf openssl-$SSL_VERSION.tar.gz && \
1616 cd openssl-$SSL_VERSION && ./config && make depend && make install && \
1717 cd .. && rm -rf openssl-$SSL_VERSION*
@@ -34,6 +34,8 @@ RUN npm install
3434RUN npm run build-backend && npm run build-frontend
3535RUN cp -r dist/apps/singularity-client dist/apps/singularity-api/static
3636
37- FROM node:19.2 .0
37+ FROM node:20.3 .0
3838COPY --from=build /usr/src/app/dist/apps/singularity-api /usr/src/app
39- CMD node /usr/src/app/main.js
39+ WORKDIR /usr/src/app
40+ RUN npm install
41+ CMD node main.js
Original file line number Diff line number Diff line change @@ -15,6 +15,34 @@ module.exports = {
1515 assets : [ "./src/assets" , "./src/config" ] ,
1616 optimization : false ,
1717 outputHashing : 'none' ,
18+ externalDependencies : [
19+ "react-native-sqlite-storage" ,
20+ "@google-cloud/spanner" ,
21+ "mongodb" ,
22+ "@sap/hana-client" ,
23+ "hdb-pool" ,
24+ "mysql" ,
25+ "oracledb" ,
26+ "pg" ,
27+ "pg-native" ,
28+ "pg-query-stream" ,
29+ "typeorm-aurora-data-api-driver" ,
30+ "redis" ,
31+ "ioredis" ,
32+ "better-sqlite3" ,
33+ "sqlite3" ,
34+ "sql.js" ,
35+ "mssql" ,
36+ "react-native-sqlite-storage" ,
37+ "cache-manager" ,
38+ "class-validator" ,
39+ "class-transformer" ,
40+ "@nestjs/websockets/socket-module" ,
41+ "@nestjs/microservices/microservices-module" ,
42+ "@nestjs/microservices" ,
43+ "sharp"
44+ ] ,
45+ generatePackageJson : true
1846 } )
1947 ] ,
2048} ;
You can’t perform that action at this time.
0 commit comments