Update Dockerfile
Browse files- 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
|
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 |
|