Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build local image can't be run #350

Open
hy05190134 opened this issue May 5, 2022 · 3 comments
Open

docker build local image can't be run #350

hy05190134 opened this issue May 5, 2022 · 3 comments

Comments

@hy05190134
Copy link

based branch gh-pages,I use docker build generate a local image osrm-fronted, but I can't run successfully , catch a error like :

async remove(item) {
^^^^^^

SyntaxError: Unexpected identifier

so how to modify the dockerfile

@hy05190134
Copy link
Author

http://www.4k8k.xyz/article/u012313361/107480635, but I can not know how to modify the dockerfile

@dazweeja
Copy link

dazweeja commented Jun 22, 2022

The simplest solution is to change the first line of docker/Dockerfile to the following and then rebuild:

FROM alpine:3.7

@mauroalexandre
Copy link

Worked, please merge PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants