Added VOLUME and EXPOSE keywords to Dockerfile
authorAdam Dullage <redacted>
Thu, 1 Jun 2023 08:15:27 +0000 (09:15 +0100)
committerAdam Dullage <redacted>
Thu, 1 Jun 2023 08:15:27 +0000 (09:15 +0100)
Dockerfile

index ccd3ddd6b50ebc286d5e40dcd32d3284fede6947..5c1e040adcbdd3d2d8ddf3060aec69580dafbce0 100644 (file)
@@ -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" ]
git clone https://git.99rst.org/PROJECT