harbor-helm-index/Dockerfile
Alan Bridgeman 10a089581f
Some checks failed
Build and deploy Harbor Helm Index to QA/Stagging (private Kubernetes cluster) / build (push) Failing after 1m0s
Build and deploy Harbor Helm Index to QA/Stagging (private Kubernetes cluster) / deploy (push) Has been skipped
Fixed some files related to dependencies for building the image
2025-06-19 02:33:21 -05:00

25 lines
310 B
Docker

FROM node:lts
WORKDIR /usr/src/app
COPY package*.json ./
COPY yarn.lock ./
RUN yarn install --frozen-lockfile
COPY ./src ./src
COPY ./gulpfile.mjs ./
COPY ./tsconfig.json ./
RUN yarn build
ARG NODE_ENV=production
ENV NODE_ENV=$NODE_ENV
ARG PORT=3000
ENV PORT=$PORT
EXPOSE $PORT
CMD ["yarn", "start"]