Add entrypoint script and configure Dockerfile for Azurite with Caddy support

This commit is contained in:
2026-02-27 08:07:39 +01:00
parent cb6e5175ad
commit 8afca09f26
2 changed files with 87 additions and 0 deletions

View File

@@ -23,4 +23,15 @@ COPY --from=build /app/azurite/dist/src ./azurite/src
WORKDIR /app/azurite
RUN npm pkg set scripts.prepare="echo no-prepare"
RUN npm ci --omit=dev --unsafe-perm
WORKDIR /app
COPY ./entrypoint.sh .
RUN chmod +x entrypoint.sh
EXPOSE 443
EXPOSE 10000
EXPOSE 10001
EXPOSE 10002
ENTRYPOINT [ "/app/entrypoint.sh" ]
CMD [ "ash" ]