mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-22 19:15:15 +00:00
d1fc74f30e
Bumps node from 21.6.1-alpine to 21.6.2-alpine. --- updated-dependencies: - dependency-name: node dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
23 lines
436 B
Docker
23 lines
436 B
Docker
FROM node:21.6.2-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.4-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"]
|