Skip to content

Fix Docker Build - Exit Code 1 (Missing Semicolon in Pip Install) #22

@jungalprog

Description

@jungalprog

Resolved a syntax issue in the Dockerfile_app that was causing the build to fail with Exit Code 1. The error was due to a missing semicolon (;) after pip install --upgrade pip. This has been fixed by ensuring proper command chaining.

RUN set -e;
apt-get update ;
apt-get -y install netcat-traditional ;
apt-get -y install gettext ;
apt-get -y install httpie ;
pip install --upgrade pip ;
pip install flask

Additionally, replaced netcat with netcat-traditional to prevent potential package conflicts during installation in the Dockerfile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions