change folder name to src

This commit is contained in:
FuzzyGrim
2023-01-24 12:32:25 +01:00
parent 336fa4ef71
commit f54571eb8f
57 changed files with 6 additions and 6 deletions

View File

@@ -13,8 +13,8 @@ RUN chmod +x /entrypoint.sh
RUN adduser -D user
WORKDIR /app
COPY --chown=user:user ./yamtarr .
RUN chown user:user /yamtarr
COPY --chown=user:user ./src .
RUN chown user:user /app
USER user
RUN [ ! -d "db" ] && mkdir db

View File

@@ -87,7 +87,7 @@ WSGI_APPLICATION = 'base.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'data/db.sqlite3')
'NAME': os.path.join(BASE_DIR, 'db/db.sqlite3')
}
}
@@ -128,8 +128,8 @@ USE_TZ = True
STATIC_URL = 'static/'
MEDIA_URL = 'media/'
STATIC_ROOT = os.path.join(BASE_DIR, 'data/static')
MEDIA_ROOT = os.path.join(BASE_DIR, 'data/media')
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
# Default primary key field type
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
@@ -156,6 +156,6 @@ STATICFILES_FINDERS = [
SASS_PROCESSOR_ENABLED = True
SASS_PROCESSOR_ROOT = os.path.join(BASE_DIR,'data/static')
SASS_PROCESSOR_ROOT = os.path.join(BASE_DIR,'static')
SASS_OUTPUT_STYLE = 'compact'

View File

Before

Width:  |  Height:  |  Size: 830 B

After

Width:  |  Height:  |  Size: 830 B