Commit f42a5e15 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Fixed path in blueprint.

parent 1c45878f
Pipeline #77674 failed with stages
in 43 minutes and 35 seconds
......@@ -39,9 +39,8 @@ RUN mkdir -p /encyclopedia
WORKDIR /encyclopedia
COPY dependencies/encyclopedia-gui/client/src /encyclopedia/src
COPY dependencies/encyclopedia-gui/client/webpack.config.js /encyclopedia/webpack.config.js
RUN npm install webpack
RUN npm install webpack-cli
RUN npx webpack
RUN npm install webpack webpack-cli
RUN npx webpack --mode=production
# Third, build all python stuff in a python build image
FROM python:3.7-stretch as build
......
Subproject commit 8cb78e54b065ebce91a7f67931afa2e7f0a6c961
Subproject commit 53a5492049df2d74aad413bf7dfbc26e7a51f251
......@@ -16,5 +16,5 @@ from flask import Blueprint
import os.path
gui_folder = os.path.abspath(os.path.join(
os.path.dirname(__file__), '../../gui/dependencies/encyclopedia-gui/client'))
os.path.dirname(__file__), '../../dependencies/encyclopedia-gui/client'))
blueprint = Blueprint('gui_encyclopedia', __name__, static_url_path='/', static_folder=gui_folder)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment