Browse Source

Now only using odit registry hosted images to speed up the build

main
Nicolai Ort 3 months ago
parent
commit
3a82caad95
Signed by: niggl GPG Key ID: 13AFA55AF62F269F
  1. 4
      Dockerfile

4
Dockerfile

@ -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…
Cancel
Save