Spaces:
Sleeping
Sleeping
Add platform to dockerfile and modify dockerignore
Browse files- .dockerignore +2 -0
- api_rest/Dockerfile +1 -1
.dockerignore
CHANGED
@@ -2,3 +2,5 @@
|
|
2 |
.pytest_cache/
|
3 |
__pycache__/
|
4 |
.env*
|
|
|
|
|
|
2 |
.pytest_cache/
|
3 |
__pycache__/
|
4 |
.env*
|
5 |
+
*.pth
|
6 |
+
!best_models/*.pth
|
api_rest/Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM python:3.10
|
2 |
|
3 |
WORKDIR /wordle_app
|
4 |
|
|
|
1 |
+
FROM --platform=linux/amd64 python:3.10-slim
|
2 |
|
3 |
WORKDIR /wordle_app
|
4 |
|