mirror of
https://github.com/FuzzyGrim/Yamtrack.git
synced 2026-06-28 06:45:58 +00:00
change folder name to src
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
Before Width: | Height: | Size: 830 B After Width: | Height: | Size: 830 B |
Reference in New Issue
Block a user