git.99rst.org
/
flatnotes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
995a37c
)
Added VOLUME and EXPOSE keywords to Dockerfile
author
Adam Dullage
<redacted>
Thu, 1 Jun 2023 08:15:27 +0000
(09:15 +0100)
committer
Adam Dullage
<redacted>
Thu, 1 Jun 2023 08:15:27 +0000
(09:15 +0100)
Dockerfile
patch
|
blob
|
history
diff --git
a/Dockerfile
b/Dockerfile
index ccd3ddd6b50ebc286d5e40dcd32d3284fede6947..5c1e040adcbdd3d2d8ddf3060aec69580dafbce0 100644
(file)
--- 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" ]
git clone https://git.99rst.org/PROJECT