Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Docker run problem : SyntaxError: invalid syntax #4

@kwiatks

Description

@kwiatks

convert-video-to-audio git:(master) ✗ docker --version
Docker version 20.10.7, build f0df350

docker image build -t convert-video-to-audio .
(build ran successfully)

➜ convert-video-to-audio git:(master) ✗ docker run -p 8080:8080 convert-video-to-audio
Traceback (most recent call last):
File "app.py", line 1, in
from flask import Flask, render_template, request, redirect, jsonify
File "/usr/local/lib/python3.5/dist-packages/flask/init.py", line 14, in
from jinja2 import escape
File "/usr/local/lib/python3.5/dist-packages/jinja2/init.py", line 5, in
from .bccache import BytecodeCache as BytecodeCache
File "/usr/local/lib/python3.5/dist-packages/jinja2/bccache.py", line 61
self.code: t.Optional[CodeType] = None
^
SyntaxError: invalid syntax

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions