Update docker
This commit is contained in:
@ -16,6 +16,9 @@ FROM python:3.13-slim-bookworm
|
||||
|
||||
COPY --from=builder --chown=app:app /build/dist /opt/sshecret
|
||||
|
||||
COPY packages/sshecret-admin /opt/sshecret-admin
|
||||
COPY docker/admin.entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN pip install /opt/sshecret/sshecret-*.whl
|
||||
RUN pip install /opt/sshecret/sshecret_admin-*.whl
|
||||
|
||||
@ -25,6 +28,4 @@ VOLUME /opt/sshecret-admin
|
||||
|
||||
WORKDIR /opt/sshecret-admin
|
||||
|
||||
ENTRYPOINT [ "sshecret-admin" ]
|
||||
|
||||
CMD ["run", "--host", "0.0.0.0"]
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user