mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-12 21:30:27 +05:30
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
@ -18,8 +18,9 @@ RUN --mount=type=cache,target=/root/.local/share/pnpm \
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY --from=build /app/dist/ /usr/share/nginx/html/
|
||||
|
||||
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
COPY docker/entrypoint.sh /entrypoint.sh
|
||||
|
||||
EXPOSE 80
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
|
Loading…
Reference in New Issue
Block a user