1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-15 06:40:28 +05:30
Piped/Dockerfile

19 lines
345 B
Docker
Raw Normal View History

2021-10-28 23:25:32 +05:30
FROM node:lts-alpine AS build
2021-08-03 23:34:52 +05:30
WORKDIR /app/
COPY package.json yarn.lock ./
RUN yarn install --prefer-offline
COPY . .
2021-12-29 00:26:28 +05:30
RUN yarn build && sed -i 's/fonts.gstatic.com/fonts.kavin.rocks/g' dist/assets/*.css
2021-08-03 23:34:52 +05:30
FROM nginx:alpine
COPY --from=build /app/dist/ /usr/share/nginx/html/
2021-08-20 21:40:37 +05:30
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
2021-08-03 23:34:52 +05:30
EXPOSE 80