fix Docker image: separate static assets from build output

This commit is contained in:
Henning Jacobs
2016-12-21 22:55:15 +01:00
parent 6ae7ee0f46
commit 2a4bf6b0c8
5 changed files with 5 additions and 4 deletions

View File

@@ -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