diff --git a/Dockerfile b/Dockerfile index fe060cb..21bcd26 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,10 @@ -FROM node:14 +#https://blogs.oracle.com/opal/dockerfiles-for-node-oracledb-are-easy-and-simple 참고 +FROM oraclelinux:7-slim + +RUN yum -y install oracle-release-el7 oracle-nodejs-release-el7 && \ + yum-config-manager --disable ol7_developer_EPEL && \ + yum -y install oracle-instantclient19.3-basiclite nodejs && \ + rm -rf /var/cache/yum WORKDIR /opt/inu-api