summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorAmelia Yukii <123300075+Insert5StarName@users.noreply.github.com>2023-10-17 21:40:21 +0200
committerGitHub <noreply@github.com>2023-10-17 21:40:21 +0200
commit22fb72fcfb538bf616d917bc288fceffa8cdfaf5 (patch)
tree659674ecb707c87988023889b15b742dafe72252 /Dockerfile
parentmerge: "show content for all CWs" button (#83) (diff)
downloadsharkey-22fb72fcfb538bf616d917bc288fceffa8cdfaf5.tar.gz
sharkey-22fb72fcfb538bf616d917bc288fceffa8cdfaf5.tar.bz2
sharkey-22fb72fcfb538bf616d917bc288fceffa8cdfaf5.zip
Update Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index e2caa5888f..60bd0871df 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -88,6 +88,7 @@ COPY --chown=sharkey:sharkey . ./
ENV LD_PRELOAD=/usr/local/lib/libjemalloc.so
ENV NODE_ENV=production
+VOLUME "/sharkey/files"
HEALTHCHECK --interval=5s --retries=20 CMD ["/bin/bash", "/sharkey/healthcheck.sh"]
ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["pnpm", "run", "migrateandstart"]