mirror of
https://github.com/wahyd4/links.git
synced 2026-08-08 21:04:53 +10:00
Add default screenshot
This commit is contained in:
@@ -9,9 +9,6 @@ local_settings.py
|
||||
db.sqlite3
|
||||
db.sqlite3-journal
|
||||
|
||||
# Static files
|
||||
/static/
|
||||
|
||||
# Media files
|
||||
/media/
|
||||
|
||||
|
||||
+4
-2
@@ -58,8 +58,10 @@ COPY --from=dev /app /app
|
||||
WORKDIR /app
|
||||
|
||||
# Create a non-root user
|
||||
RUN useradd -m -u 1000 appuser && \
|
||||
chown -R appuser:appuser /app
|
||||
RUN mkdir -p /app/data/media/screenshots \
|
||||
&& useradd -m -u 1000 appuser \
|
||||
&& chown -R appuser:appuser /app \
|
||||
|
||||
|
||||
USER appuser
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
Reference in New Issue
Block a user