The run-citadel.sh script is being turned into a runtime harness for the container.
[citadel-docker.git] / Dockerfile
index 0f81cbbd107c7551c222156ac2b0b5fa44844020..8dc69f82e0e847ad8da475e2735276bbe1a3a574 100644 (file)
@@ -22,5 +22,8 @@ RUN sh -c 'cd /tmp/ctdl_build && cc ctdlvisor.c -o /usr/local/bin/ctdlvisor'
 # Ports
 EXPOSE 25 80 110 119 143 443 465 504 563 587 993 995 2020 5222
 
+# We don't need the workdir anymore
+RUN rm -fr /tmp/ctdl_build
+
 # Let's go!
 ENTRYPOINT ["/usr/local/bin/ctdlvisor"]