soiz1 commited on
Commit
e360607
·
verified ·
1 Parent(s): 5792478

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  FROM node:lts-alpine AS build
2
 
3
  WORKDIR /app
4
- RUN git clone https://github.com/TeamPiped/Piped.git /app
5
 
6
  RUN --mount=type=cache,target=/var/cache/apk \
7
  apk add --no-cache \
@@ -19,8 +19,7 @@ FROM nginxinc/nginx-unprivileged:alpine
19
  WORKDIR /app/
20
 
21
  COPY --chown=101:101 --from=build /app/dist/ /usr/share/nginx/html/
22
-
23
- COPY --chown=101:101 /app/docker/nginx.conf /etc/nginx/conf.d/default.conf
24
 
25
  COPY --from=build /app/entrypoint.sh /entrypoint.sh
26
 
 
1
  FROM node:lts-alpine AS build
2
 
3
  WORKDIR /app
4
+ RUN git clone https://github.com/TeamPiped/Piped.git .
5
 
6
  RUN --mount=type=cache,target=/var/cache/apk \
7
  apk add --no-cache \
 
19
  WORKDIR /app/
20
 
21
  COPY --chown=101:101 --from=build /app/dist/ /usr/share/nginx/html/
22
+ COPY --chown=101:101 /nginx.conf /etc/nginx/conf.d/default.conf
 
23
 
24
  COPY --from=build /app/entrypoint.sh /entrypoint.sh
25