Now only using odit registry hosted images to speed up the build
This commit is contained in:
parent
19e08bc52c
commit
3a82caad95
|
@ -1,10 +1,10 @@
|
|||
FROM library/node:16-alpine
|
||||
FROM registry.odit.services/hub/library/node:16-alpine
|
||||
WORKDIR /app
|
||||
COPY package.json ./
|
||||
RUN yarn
|
||||
COPY ./ ./
|
||||
RUN yarn build
|
||||
|
||||
FROM registry.odit.services/testing/nginx-brotli:3.13
|
||||
FROM registry.odit.services/library/nginx-brotli:3.13
|
||||
COPY --from=0 /app/build /usr/share/nginx/html
|
||||
COPY ./nginx.conf /etc/nginx/nginx.conf
|
Loading…
Reference in New Issue