Change image reg to redhat's
This commit is contained in:
parent
b8aea60bee
commit
30ec51bd00
@ -1,13 +1,12 @@
|
|||||||
FROM node:16
|
FROM ubi9/s2i-core:rhel9.1.0
|
||||||
USER node
|
USER node
|
||||||
WORKDIR /home/node/app
|
WORKDIR /home/node/app
|
||||||
|
RUN mkdir .npm
|
||||||
|
RUN mkdir /home/node/.npm
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN mkdir /home/node/
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
RUN npm run build:fontawesome
|
RUN npm run build:fontawesome
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
RUN mkdir .npm
|
CMD ["npm", "run", "start"]
|
||||||
RUN mkdir /home/node/.npm
|
|
||||||
CMD ["npm", "start"]
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user