Open parhamgh2020 opened 8 months ago
The base image used is "ubuntu:22.04", which may not be the most optimized image for the specific requirements of the code
Why are packages like wget and gcc needed?
Yeah I just copied the line from another Dockerfile of mine, but I can optimize it for you shortly for less packages
An error has occurred while attempting to execute the "docker-compose build" command.
error: failed to solve: executor failed running [/bin/sh -c apt-get install wget gcc python3 python3-pip python3-psycopg2 -y && apt-get autoremove -y && apt-get clean -y]: exit code: 100
The issue lies in creating the image from the Dockerfile at line 9.
but the error you are mentioning is odd because the build process working fine for me
An error has occurred while attempting to execute the "docker-compose build" command.
error: failed to solve: executor failed running [/bin/sh -c apt-get install wget gcc python3 python3-pip python3-psycopg2 -y && apt-get autoremove -y && apt-get clean -y]: exit code: 100
The issue lies in creating the image from the Dockerfile at line 9.