santit96 commited on
Commit
e3c9091
·
1 Parent(s): 1489119

Add platform to dockerfile and modify dockerignore

Browse files
Files changed (2) hide show
  1. .dockerignore +2 -0
  2. 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