frequi_origin/Dockerfile
dependabot[bot] b7a6e1664a
build(deps): bump nginx from 1.25.4-alpine to 1.25.5-alpine
Bumps nginx from 1.25.4-alpine to 1.25.5-alpine.

---
updated-dependencies:
- dependency-name: nginx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

23 lines
436 B
Docker

FROM node:21.7.3-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.25.5-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"]