aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index f8fde91..42a1c02 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,7 +9,7 @@ COPY . /server-build
9RUN ["npm", "ci", "--production", "--build-from-source", "--sqlite=/usr/local"] 9RUN ["npm", "ci", "--production", "--build-from-source", "--sqlite=/usr/local"]
10 10
11FROM node:lts-alpine 11FROM node:lts-alpine
12 # TODO implement process to run ferdi-server as non-root user. See comments on https://github.com/getferdi/server/pull/48/ 12# TODO: implement process to run ferdi-server as non-root user. See comments on https://github.com/getferdi/server/pull/48/
13WORKDIR /app 13WORKDIR /app
14LABEL maintainer="xthursdayx" 14LABEL maintainer="xthursdayx"
15 15
@@ -23,4 +23,5 @@ RUN ["npm", "i", "-g", "@adonisjs/cli"]
23HEALTHCHECK --interval=5m --timeout=3s CMD curl -sSf http://localhost:${PORT}/health 23HEALTHCHECK --interval=5m --timeout=3s CMD curl -sSf http://localhost:${PORT}/health
24 24
25COPY docker/entrypoint.sh /entrypoint.sh 25COPY docker/entrypoint.sh /entrypoint.sh
26COPY docker/.env /app/.env
26CMD ["/entrypoint.sh"] 27CMD ["/entrypoint.sh"]