fix add dataset
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -39,9 +39,9 @@ RUN mkdir -p /app/readeck/data && chmod 777 /app/readeck/data
|
|
| 39 |
|
| 40 |
# Copy sync scripts
|
| 41 |
COPY sync_storage.py /app/sync_storage.py
|
| 42 |
-
COPY start_with_sync.sh /
|
| 43 |
# Make scripts executable
|
| 44 |
-
RUN chmod +x /app/sync_storage.py /
|
| 45 |
# Start with sync
|
| 46 |
# Set working directory
|
| 47 |
WORKDIR /app
|
|
@@ -52,5 +52,5 @@ curl -q $readeck_url -o /bin/readeck &&\
|
|
| 52 |
chmod a+x /bin/readeck
|
| 53 |
|
| 54 |
|
| 55 |
-
ENTRYPOINT ["/
|
| 56 |
# CMD ["/bin/readeck","serve", "-config", "/app/readeck/config.toml"]
|
|
|
|
| 39 |
|
| 40 |
# Copy sync scripts
|
| 41 |
COPY sync_storage.py /app/sync_storage.py
|
| 42 |
+
COPY start_with_sync.sh /start.sh
|
| 43 |
# Make scripts executable
|
| 44 |
+
RUN chmod +x /app/sync_storage.py /start.sh
|
| 45 |
# Start with sync
|
| 46 |
# Set working directory
|
| 47 |
WORKDIR /app
|
|
|
|
| 52 |
chmod a+x /bin/readeck
|
| 53 |
|
| 54 |
|
| 55 |
+
ENTRYPOINT ["/start.sh"]
|
| 56 |
# CMD ["/bin/readeck","serve", "-config", "/app/readeck/config.toml"]
|