fix add dataset
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
FROM codeberg.org/readeck/readeck:latest
|
| 2 |
-
|
| 3 |
|
| 4 |
# Add health check
|
| 5 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
|
|
@@ -28,5 +28,8 @@ COPY start_with_sync.sh /app/start.sh
|
|
| 28 |
# Make scripts executable
|
| 29 |
RUN chmod +x /app/sync_storage.py /app/start.sh
|
| 30 |
# Start with sync
|
|
|
|
|
|
|
|
|
|
| 31 |
ENTRYPOINT ["/app/start.sh"]
|
| 32 |
# CMD ["/bin/readeck","serve", "-config", "/app/readeck/config.toml"]
|
|
|
|
| 1 |
FROM codeberg.org/readeck/readeck:latest
|
| 2 |
+
|
| 3 |
|
| 4 |
# Add health check
|
| 5 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
|
|
|
|
| 28 |
# Make scripts executable
|
| 29 |
RUN chmod +x /app/sync_storage.py /app/start.sh
|
| 30 |
# Start with sync
|
| 31 |
+
# Set working directory
|
| 32 |
+
WORKDIR /app
|
| 33 |
+
|
| 34 |
ENTRYPOINT ["/app/start.sh"]
|
| 35 |
# CMD ["/bin/readeck","serve", "-config", "/app/readeck/config.toml"]
|