Files
doneit-web/dockerfile
T

13 lines
340 B
Docker
Raw Normal View History

2022-06-02 16:11:57 +01:00
FROM node:14 as build
WORKDIR /app
COPY ./package*.json /app/
2022-04-14 18:45:50 +01:00
RUN npm config set unsafe-perm true
2022-06-02 16:11:57 +01:00
RUN npm install -g ionic
RUN npm config set legacy-peer-deps true
RUN npm install --save --legacy-peer-deps
COPY ./ /app/
RUN ionic build
FROM nginx:alpine
RUN rm -rf /usr/share/nginx/html/*
COPY --from=build /app/www/ /usr/share/nginx/html/