soiz1 commited on
Commit
b3695c4
·
verified ·
1 Parent(s): 2882685

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,13 +1,13 @@
1
  FROM node:lts-alpine AS build
2
 
3
  RUN git clone https://github.com/TeamPiped/Piped.git /app
 
4
  WORKDIR /app/
5
 
6
  RUN --mount=type=cache,target=/var/cache/apk \
7
  apk add --no-cache \
8
  curl
9
 
10
- COPY . .
11
 
12
  RUN corepack enable && corepack prepare pnpm@latest --activate
13
 
@@ -22,6 +22,6 @@ 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
24
 
25
- COPY docker/entrypoint.sh /entrypoint.sh
26
 
27
  ENTRYPOINT [ "/entrypoint.sh" ]
 
1
  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
10
 
 
11
 
12
  RUN corepack enable && corepack prepare pnpm@latest --activate
13
 
 
22
 
23
  COPY --chown=101:101 docker/nginx.conf /etc/nginx/conf.d/default.conf
24
 
25
+ COPY /docker/entrypoint.sh /entrypoint.sh
26
 
27
  ENTRYPOINT [ "/entrypoint.sh" ]