mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-25 12:35:15 +00:00
parent
9e834b1eb3
commit
e154868b3b
12
Dockerfile
12
Dockerfile
|
@ -4,20 +4,16 @@ RUN mkdir /app
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# ENV PATH /usr/src/app/node_modules/.bin:$PATH
|
COPY package.json yarn.lock .yarnrc.yml /app/
|
||||||
|
COPY .yarn/releases/ /app/.yarn/releases/
|
||||||
COPY package.json /app/package.json
|
|
||||||
COPY yarn.lock /app/yarn.lock
|
|
||||||
|
|
||||||
RUN apk add --update --no-cache python3 g++ make\
|
RUN apk add --update --no-cache python3 g++ make\
|
||||||
&& yarn \
|
&& yarn install\
|
||||||
&& apk del python3 g++ make
|
&& apk del python3 g++ make
|
||||||
|
|
||||||
COPY . /app
|
COPY . /app
|
||||||
|
|
||||||
# The below flag should be removed, it's an incompatibility between
|
RUN yarn build
|
||||||
# webpack and node17
|
|
||||||
RUN NODE_OPTIONS=--openssl-legacy-provider yarn build
|
|
||||||
|
|
||||||
FROM nginx:1.25.3-alpine
|
FROM nginx:1.25.3-alpine
|
||||||
COPY --from=ui-builder /app/dist /etc/nginx/html
|
COPY --from=ui-builder /app/dist /etc/nginx/html
|
||||||
|
|
Loading…
Reference in New Issue
Block a user