diff options
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,7 +9,7 @@ COPY . /server-build | |||
9 | RUN ["npm", "ci", "--production", "--build-from-source", "--sqlite=/usr/local"] | 9 | RUN ["npm", "ci", "--production", "--build-from-source", "--sqlite=/usr/local"] |
10 | 10 | ||
11 | FROM node:lts-alpine | 11 | FROM node:lts-alpine |
12 | 12 | # TODO implement process to run ferdi-server as non-root user. See comments on https://github.com/getferdi/server/pull/48/ | |
13 | WORKDIR /app | 13 | WORKDIR /app |
14 | LABEL maintainer="xthursdayx" | 14 | LABEL maintainer="xthursdayx" |
15 | 15 | ||
@@ -23,4 +23,4 @@ RUN ["npm", "i", "-g", "@adonisjs/cli"] | |||
23 | HEALTHCHECK --interval=5m --timeout=3s CMD curl -sSf http://localhost:${PORT}/health | 23 | HEALTHCHECK --interval=5m --timeout=3s CMD curl -sSf http://localhost:${PORT}/health |
24 | 24 | ||
25 | COPY docker/entrypoint.sh /entrypoint.sh | 25 | COPY docker/entrypoint.sh /entrypoint.sh |
26 | CMD ["/entrypoint.sh"] \ No newline at end of file | 26 | CMD ["/entrypoint.sh"] |