We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 881f30b + 14a1fc1 commit 42d683aCopy full SHA for 42d683a
Dockerfile
@@ -21,6 +21,10 @@ CMD [ "/bot/typst-bot" ]
21
ENV DB_PATH=/bot/sqlite/db.sqlite \
22
CACHE_DIRECTORY=/bot/cache
23
24
+# Create the necessary directories and the empty database file
25
+RUN mkdir -p /bot/sqlite /bot/cache && \
26
+ touch /bot/sqlite/db.sqlite
27
+
28
# The only files we need from the build stage in order to run the bot are the two executables.
29
COPY --from=build \
30
/typst-bot/target/release/worker \
0 commit comments