Enter directory typescript/simple-mercari-web, construct build2024/web:latest with dockerfile. This is necessary because command RUN npm install requires that package.json exists.
I could use GET method but I couldn't use PORT method to upload items.
When the PORT api starts, the debug information is like:
app-1 | DEBUG:multipart.multipart:Calling on_part_begin with no data
app-1 | DEBUG:multipart.multipart:Calling on_header_field with data[42:61]
...
app-1 | DEBUG:multipart.multipart:Calling on_part_end with no data
app-1 | DEBUG:multipart.multipart:Calling on_end with no data
I guess that it may be the problem with path, so I want to print the path. However, after I edit python/main.py and rebuild the two docker images once again, docker-compose up still runs tha old version of python/main.py.
The image build2024/app:latest contains 3 folders, /db, /image and /python.
CHECKS :warning:
Please make sure you are aware of the following.
[ ] **The changes in this PR doesn't have private information
What
Stuck in Step8-4.
First, reconstruct two images from the very start.
At the root path of the git folder, construct
build2024/app:latest
withpython/dockerfile
.Run it.
Enter directory
typescript/simple-mercari-web
, constructbuild2024/web:latest
withdockerfile
. This is necessary because commandRUN npm install
requires thatpackage.json
exists.Run it. No issues.
However, in the root directory, execute
I could use
GET
method but I couldn't usePORT
method to upload items. When thePORT
api starts, the debug information is like:I guess that it may be the problem with path, so I want to print the path. However, after I edit
python/main.py
and rebuild the two docker images once again,docker-compose up
still runs tha old version ofpython/main.py
. The imagebuild2024/app:latest
contains 3 folders,/db
,/image
and/python
.CHECKS :warning:
Please make sure you are aware of the following.