Created
April 4, 2019 21:18
-
-
Save viebig/dc51d65ed0c16ed8e4b934f25c6d8e64 to your computer and use it in GitHub Desktop.
Dockerfile for nodejs 10 with oracle
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
FROM oraclelinux | |
RUN yum install -y oracle-nodejs-release-el7 oracle-release-el7 && yum install -y node-oracledb-node10 | |
RUN npm i -g yarn | |
RUN echo /usr/lib/oracle/18.3/client64/lib > /etc/ld.so.conf.d/oracle-instantclient.conf | |
RUN ldconfig | |
ADD package.json /tmp/package.json | |
RUN cd /tmp && yarn | |
RUN mkdir -p /src && cp -a /tmp/node_modules /src | |
WORKDIR /src | |
ADD . . | |
EXPOSE 1313 | |
CMD ["yarn", "start"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment