Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
FROM ghcr.io/veloera/veloera:latest
|
2 |
|
|
|
|
|
|
|
3 |
EXPOSE 3000
|
|
|
4 |
|
5 |
HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
|
6 |
CMD sh -c "wget -q -O - http://localhost:3000/api/status | grep -o '\"success\":\\s*true' || exit 1"
|
|
|
1 |
FROM ghcr.io/veloera/veloera:latest
|
2 |
|
3 |
+
RUN mkdir -p /data/logs \
|
4 |
+
&& chown -R 1000:1000 /data
|
5 |
+
|
6 |
EXPOSE 3000
|
7 |
+
CMD ["--log-dir", "/data/logs"]
|
8 |
|
9 |
HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
|
10 |
CMD sh -c "wget -q -O - http://localhost:3000/api/status | grep -o '\"success\":\\s*true' || exit 1"
|