Skip to content

Commit

Permalink
fix: invalid option: "/bin/sh"
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSRem committed Sep 9, 2023
1 parent adb13be commit 8afcdc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ FROM alpine:3.18

ENV TZ=Asia/Shanghai

RUN apk add --no-cache tzdata bash nginx && \
RUN apk add --no-cache tzdata nginx && \
rm -rf /var/cache/apk/* /tmp/*

COPY --chmod=755 ./rootfs /

EXPOSE 80

ENTRYPOINT ["nginx"]
CMD ["-g" "daemon off;"]
CMD ["-g", "daemon off;"]

0 comments on commit 8afcdc9

Please sign in to comment.