Skip to content

Commit 03fcf82

Browse files
authored
Update docker scripts in backend README (#537)
1 parent f75e1bf commit 03fcf82

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

backend/README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@
99
2. Run the following Docker command to build container:
1010

1111
```shell
12-
docker build -f backend/backend.dockerfile -t fba_backend_independent .
12+
docker build -f backend/Dockerfile -t fba_backend_independent .
1313
```
1414

1515
3. Start container
1616

17+
Native boot needs to change `127.0.0.1` in `.env` to `host.docker.internal`
18+
1719
```shell
18-
docker run -d fba_backend_independent -p 8000:8000 --name fba_app
20+
docker run -d -p 8000:8000 --name fba_server fba_backend_independent
1921
```
2022

2123
## Contributing
@@ -26,7 +28,7 @@
2628
- Any python version between Python >= 3.10
2729
- Git
2830
- [uv](https://docs.astral.sh/uv/getting-started/installation/)
29-
- Fork this repository to your GitHub account
31+
- Fork this repository to your GitHub account
3032

3133
2. Installation and setup
3234

0 commit comments

Comments
 (0)