Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yidinghan/node-oracle-ic
use multistage to build a nodejs image with oracle instantclient
https://github.com/yidinghan/node-oracle-ic
Last synced: 26 days ago
JSON representation
use multistage to build a nodejs image with oracle instantclient
- Host: GitHub
- URL: https://github.com/yidinghan/node-oracle-ic
- Owner: yidinghan
- Created: 2020-05-21T06:15:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-24T06:56:29.000Z (over 2 years ago)
- Last Synced: 2024-04-14T06:34:31.677Z (7 months ago)
- Language: Dockerfile
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-oracle-ic
use multistage to build a nodejs image with oracle instantclientdockerfile come from https://blogs.oracle.com/opal/docker-for-oracle-database-applications-in-nodejs-and-python-part-1
# image
page: https://hub.docker.com/r/playdingnow/node-oracle-ic
# dockerfile exmaple
```dockerfile
# This stage installs our modules
FROM node:12
WORKDIR /app
COPY package.json package-lock.json ./RUN npm i
# Then we copy over the modules from above onto a `slim` image
FROM playdingnow/node-oracle-ic:n12.16.1slim-ic19.5WORKDIR /app
COPY --from=0 /app .
COPY . .
CMD ["node", "app.js"]
```