fix Docker image: separate static assets from build output
This commit is contained in:
@@ -15,6 +15,7 @@ RUN pip3 install -r /requirements.txt
|
||||
COPY app.py /
|
||||
COPY templates /templates
|
||||
COPY app /app
|
||||
COPY static /static
|
||||
|
||||
WORKDIR /app
|
||||
RUN npm install && npm run build
|
||||
|
||||
Reference in New Issue
Block a user