Add uploads folder to repo with gitignore

This commit is contained in:
James Kiger committed 2022-09-22 10:33:59 -04:00
1 parent caabe77214
commit 40f7adec8c
3 files changed
+4 -2

No files matched your search

-1
View File
@@ -122,6 +122,5 @@ dmypy.json
docker-compose.override.yml
dump.sql
uploads
.idea/
-1
View File
@@ -30,7 +30,6 @@ COPY . /code/
ARG COLLECT_STATIC
RUN if [ "$COLLECT_STATIC" != "" ] ; then SECRET_KEY=ci ./manage.py collectstatic --noinput; fi
RUN mkdir /code/uploads
RUN useradd -u 5000 app && chown app:app /code && chown app:app /code/uploads
USER app:app
+4
View File
@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore