mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Dockerfile: rm EXPOSE
The EXPOSE is inferred from the base image which in this case is nginx So, we need not expicitely define it. One less layer in final image :)
This commit is contained in:
parent
19a325743b
commit
3e82d228dc
1 changed files with 2 additions and 1 deletions
|
@ -18,8 +18,9 @@ RUN --mount=type=cache,target=/root/.local/share/pnpm \
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
||||||
COPY --from=build /app/dist/ /usr/share/nginx/html/
|
COPY --from=build /app/dist/ /usr/share/nginx/html/
|
||||||
|
|
||||||
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
|
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
COPY docker/entrypoint.sh /entrypoint.sh
|
COPY docker/entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
EXPOSE 80
|
|
||||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||||
|
|
Loading…
Reference in a new issue