Fixed the issue where the frontend was not copied to Docker.
This commit is contained in:
@@ -13,6 +13,7 @@ COPY requirements.txt ./
|
|||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
COPY app ./app
|
COPY app ./app
|
||||||
|
COPY frontend ./frontend
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
|||||||
+2
-4
@@ -1,13 +1,11 @@
|
|||||||
version: "3.9"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
plex-playlist-sync:
|
plex-playlist-sync:
|
||||||
build: .
|
build: .
|
||||||
command: uvicorn app.main:app --host 0.0.0.0 --port 8080 --reload
|
command: uvicorn app.main:app --host 0.0.0.0 --port 8080 --reload
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8888:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/app
|
- path_to_your_playlist:/app/playlist
|
||||||
environment:
|
environment:
|
||||||
- PYTHONUNBUFFERED=1
|
- PYTHONUNBUFFERED=1
|
||||||
- PYTHONDONTWRITEBYTECODE=1
|
- PYTHONDONTWRITEBYTECODE=1
|
||||||
|
|||||||
Reference in New Issue
Block a user