aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorLibravatar André Oliveira <37463445+SpecialAro@users.noreply.github.com>2022-05-13 12:11:06 +0100
committerLibravatar GitHub <noreply@github.com>2022-05-13 12:11:06 +0100
commit0cb24b3c34c02185b0799f8e9f3dbff48e8dede2 (patch)
tree85210af9dc566aec9fc93538a637e319ad2e3343 /Dockerfile
parentUpgrade 'node' (16.14 -> 16.15); Upgrade 'pnpm' (6 --> 7) (diff)
downloadferdium-server-0cb24b3c34c02185b0799f8e9f3dbff48e8dede2.tar.gz
ferdium-server-0cb24b3c34c02185b0799f8e9f3dbff48e8dede2.tar.zst
ferdium-server-0cb24b3c34c02185b0799f8e9f3dbff48e8dede2.zip
Add update recipes to ferdium server based on github repo (#33)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 36a1cc9..bc1e840 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -21,6 +21,10 @@ LABEL maintainer="ferdium"
21ENV HOST=0.0.0.0 PORT=3333 DATA_DIR="/data" 21ENV HOST=0.0.0.0 PORT=3333 DATA_DIR="/data"
22 22
23RUN apk add --no-cache sqlite-libs curl su-exec 23RUN apk add --no-cache sqlite-libs curl su-exec
24RUN 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
26RUN ln -s /usr/bin/python3 /usr/bin/python
27
24 28
25COPY --from=build /server-build /app 29COPY --from=build /server-build /app
26RUN npm i -g @adonisjs/cli 30RUN npm i -g @adonisjs/cli
@@ -30,4 +34,4 @@ HEALTHCHECK --start-period=5s --interval=30s --retries=5 --timeout=3s CMD curl -
30COPY docker/entrypoint.sh /entrypoint.sh 34COPY docker/entrypoint.sh /entrypoint.sh
31COPY docker/.env /app/.env 35COPY docker/.env /app/.env
32 36
33CMD ["/entrypoint.sh"] 37ENTRYPOINT ["/entrypoint.sh"]