frequi_origin/Dockerfile
dependabot[bot] c8bfdea84f
build(deps): bump node from 21.7.3-alpine to 22.0.0-alpine
Bumps node from 21.7.3-alpine to 22.0.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-30 03:54:18 +00:00

23 lines
436 B
Docker

FROM node:22.0.0-alpine as ui-builder
RUN mkdir /app
WORKDIR /app
COPY package.json yarn.lock .yarnrc.yml /app/
COPY .yarn/releases/ /app/.yarn/releases/
RUN apk add --update --no-cache g++ make\
&& yarn install\
&& apk del g++ make
COPY . /app
RUN yarn build
FROM nginx:1.26.0-alpine
COPY --from=ui-builder /app/dist /etc/nginx/html
COPY --from=ui-builder /app/nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
CMD ["nginx"]