Skip to content

Commit 6cc7141

Browse files
authored
Update README.md
1 parent 54c9046 commit 6cc7141

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,26 @@ Extend or Use the image to build your nodejs of oracledb application.
55

66
Supported tags and respective Dockerfile links
77
8.12.0-slim and nodejs oracle db supported from 2.3.0
8+
9+
# Usage to build your apps
10+
11+
FROM katturaja/docker-node-oracle-base:8.12.0-slim
12+
13+
## BUILD ARGUMENTS AND APPLICATION
14+
ARG NPM_TOKEN
15+
ARG NPM_LOG_LEVEL
16+
17+
## Create app base directory
18+
RUN mkdir -p /src
19+
20+
## Specify the "working directory" for the rest of the Dockerfile
21+
WORKDIR /src
22+
23+
COPY . /src
24+
25+
# clean
26+
RUN npm cache clean -f \
27+
&& npm install --only=prod
28+
29+
EXPOSE 3000
30+
CMD ["node", "server.js"]

0 commit comments

Comments
 (0)