1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-12 21:30:27 +05:30
Piped/Dockerfile

18 lines
292 B
Docker
Raw Normal View History

2021-08-03 23:34:52 +05:30
FROM node:current-alpine AS build
WORKDIR /app/
COPY package.json yarn.lock ./
RUN yarn install --prefer-offline
COPY . .
RUN yarn build && sed -i 's/fonts.gstatic.com/fonts.kavin.rocks/g' dist/css/*.css
FROM nginx:alpine
COPY --from=build /app/dist/ /usr/share/nginx/html/
EXPOSE 80