diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -21,6 +21,10 @@ LABEL maintainer="ferdium" | |||
21 | ENV HOST=0.0.0.0 PORT=3333 DATA_DIR="/data" | 21 | ENV HOST=0.0.0.0 PORT=3333 DATA_DIR="/data" |
22 | 22 | ||
23 | RUN apk add --no-cache sqlite-libs curl su-exec | 23 | RUN apk add --no-cache sqlite-libs curl su-exec |
24 | RUN apk add --no-cache python3 make g++ py3-pip git py3-pip | ||
25 | # The next command is needed for sqlite3 install command executed by node-gyp | ||
26 | RUN ln -s /usr/bin/python3 /usr/bin/python | ||
27 | |||
24 | 28 | ||
25 | COPY --from=build /server-build /app | 29 | COPY --from=build /server-build /app |
26 | RUN npm i -g @adonisjs/cli | 30 | RUN npm i -g @adonisjs/cli |
@@ -30,4 +34,4 @@ HEALTHCHECK --start-period=5s --interval=30s --retries=5 --timeout=3s CMD curl - | |||
30 | COPY docker/entrypoint.sh /entrypoint.sh | 34 | COPY docker/entrypoint.sh /entrypoint.sh |
31 | COPY docker/.env /app/.env | 35 | COPY docker/.env /app/.env |
32 | 36 | ||
33 | CMD ["/entrypoint.sh"] | 37 | ENTRYPOINT ["/entrypoint.sh"] |