Files

15 lines
417 B
Docker
Raw Permalink Normal View History

2022-10-12 10:43:31 +01:00
FROM node:14 as build
WORKDIR /app
COPY ./package*.json /app/
RUN npm config set unsafe-perm true
RUN npm install -g ionic
RUN npm config set legacy-peer-deps true
RUN npm i -D typescript@4.3.5
RUN npm install --save --legacy-peer-deps
COPY ./ /app/
RUN ionic build --prod
2022-06-02 16:11:57 +01:00
2023-03-22 15:31:01 +01:00
FROM nginx:latest
2022-06-07 13:38:45 +01:00
COPY ./nginx/default.conf /etc/nginx/conf.d/default.conf
2022-06-02 16:11:57 +01:00
RUN rm -rf /usr/share/nginx/html/*
2022-09-27 14:52:01 +01:00
COPY /www/ /usr/share/nginx/html/