mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-21 07:33:51 +00:00
abdca9e518
Bumps node from 23.1.0-alpine to 23.2.0-alpine. --- updated-dependencies: - dependency-name: node dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
23 lines
440 B
Docker
23 lines
440 B
Docker
FROM node:23.2.0-alpine AS ui-builder
|
|
|
|
RUN mkdir /app \
|
|
&& corepack enable
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json pnpm-lock.yaml /app/
|
|
|
|
RUN apk add --update --no-cache g++ make git \
|
|
&& pnpm install --frozen-lockfile \
|
|
&& apk del g++ make
|
|
|
|
COPY . /app
|
|
|
|
RUN pnpm run build
|
|
|
|
FROM nginx:1.27.2-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"]
|