Created
June 6, 2024 12:30
-
-
Save nicoavila/6d27d5f4d50b191f85d664947a888b8d to your computer and use it in GitHub Desktop.
A Dockerfile to run NodeJS apps inside Oracle Linux 9 using Instant Client v19 to communicate with Oracle Databases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This assumes you have a start script in your package.json file | |
FROM oraclelinux:9 | |
RUN dnf -y module enable nodejs:20 && \ | |
dnf -y install nodejs npm | |
RUN dnf install oracle-instantclient-release-el9 && \ | |
dnf -y install oracle-instantclient19.19-basic.x86_64 | |
WORKDIR /app | |
COPY . . | |
RUN npm install | |
CMD [ "npm", "run", "start" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment