soiz1 commited on
Commit
a78413e
·
verified ·
1 Parent(s): 0eb5831

Update Dockerfile

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