diff --git a/Dockerfile b/Dockerfile index 7bad9dc..5a50a21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,12 +23,15 @@ COPY --from=builder /app/cover.jpg . RUN mkdir -p audio covers # Variabili d'ambiente obbligatorie (da sovrascrivere al runtime) + ENV PODCAST_PORT=":8080" \ PODCAST_BASE_URL="http://localhost:8080" \ PODCAST_AUDIO_DIR="/app/audio" \ PODCAST_COVERS_DIR="/app/covers" \ PODCAST_TITLE="Yo mom Podcast" + + # Esponi la porta e avvia l'applicazione EXPOSE 8080 VOLUME ["/app/audio", "/app/covers"] diff --git a/README.md b/README.md index ce3b3f3..b1eef12 100644 --- a/README.md +++ b/README.md @@ -53,4 +53,4 @@ Once you have the Docker image, simply create the /data folder and put your file - No, No, and No - How can I get support for this software? -- You cannot. Code is simple, and you are alone in the night, like any operation engineer during the night. Man up!!!! \ No newline at end of file + - You cannot. Code is simple, and you are alone in the night, like any operation engineer during the night. Man up!!!! \ No newline at end of file