Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ RUN mkdir blawx/blawx/static/blawx/fonts

# RUN git clone https://github.com/google/blockly --branch develop blawx/blawx/static/blawx/blockly

RUN npm install blockly
# NOTE: currently Blawx blocks works only blockly < 11.0
# update to the latest version after the deprecation warning below is resolved
#
# block generator functions on CodeGenerator objects was deprecated in 10.0 and will be deleted in 11.0. Use the .forBlock[blockType] dictionary instead.
RUN npm install blockly@10.1.3

RUN mv ./node_modules/blockly /app/blawx/blawx/static/blawx

Expand Down Expand Up @@ -105,4 +109,4 @@ RUN python load_data.py

CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]

EXPOSE 8000
EXPOSE 8000