🏡 index : container_build.git

author Adam Cutchin <cutchin@gmail.com> 2024-12-10 20:56:06.0 -05:00:00
committer Adam Cutchin <cutchin@gmail.com> 2024-12-10 20:56:06.0 -05:00:00
commit
f5f97347b3733d0e8c8c6ca61952ec33928d336a [patch]
tree
132bcd1ddbc979b59f05f42d0f772f060fd54a70
parent
7f6018770beedce5bd8f46c7691a7e0a09ea704b
download
f5f97347b3733d0e8c8c6ca61952ec33928d336a.tar.gz

OC prefers Containerfile be called Dockerfile



Diff

 Containerfile | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/Containerfile b/Containerfile
deleted file mode 100644
index efd7436..0000000 100644
--- a/Containerfile
+++ /dev/null
@@ -1,15 +1,0 @@
FROM registry.access.redhat.com/ubi8/nodejs-14:latest as build

COPY package*.json ./
RUN npm install


FROM registry.access.redhat.com/ubi8/nodejs-14-minimal:latest

COPY --from=build /opt/app-root/src/node_modules /opt/app-root/src/node_modules
COPY . /opt/app-root/src

ENV port 8000
EXPOSE 8000

CMD ["node", "index.js"]