From: Adam Dullage Date: Thu, 1 Jun 2023 08:15:27 +0000 (+0100) Subject: Added VOLUME and EXPOSE keywords to Dockerfile X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=ea6751464f878151b8b7abfad7247539bf3d5e44;p=flatnotes.git Added VOLUME and EXPOSE keywords to Dockerfile --- diff --git a/Dockerfile b/Dockerfile index ccd3ddd..5c1e040 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,6 +43,9 @@ RUN pipenv install --deploy --ignore-pipfile --system COPY flatnotes ./flatnotes COPY --from=build ${BUILD_DIR}/flatnotes/dist ./flatnotes/dist +VOLUME /data +EXPOSE 8080/tcp + COPY entrypoint.sh / RUN chmod +x /entrypoint.sh ENTRYPOINT [ "/entrypoint.sh" ]