Skip to content

Commit

Permalink
fix: update Dockerfile
Browse files Browse the repository at this point in the history
Fix #166
  • Loading branch information
dierbei authored and ereslibre committed Jul 25, 2023
1 parent e7c22c6 commit be9e355
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ RUN apt-get update && \
RUN mkdir -p /app
RUN mkdir -p /opt
COPY --from=build-wws ${WWS_BUILD_DIR}/build/wws /opt

CMD ["/opt/wws", "/app/", "--host", "0.0.0.0"]
ENTRYPOINT ["/opt/wws"]
CMD ["/app/", "--host", "0.0.0.0"]
3 changes: 2 additions & 1 deletion image/Prebuilt.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ LABEL org.opencontainers.image.licenses="Apache-2.0"
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --chmod=755 ./wws-$TARGETARCH /wws

CMD ["/wws", "/app/", "--host", "0.0.0.0"]
ENTRYPOINT ["/wws"]
CMD ["/app/", "--host", "0.0.0.0"]

0 comments on commit be9e355

Please sign in to comment.