davanstrien HF staff commited on
Commit
2364180
1 Parent(s): 7e86222

update dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Use the official Python 3.9 image
2
- FROM python:3.10-slim-bullseye
3
 
4
  # Set the working directory to /code
5
  WORKDIR /code
@@ -23,4 +23,4 @@ WORKDIR $HOME/app
23
 
24
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
25
  COPY --chown=user . $HOME/app
26
- CMD ["bentoml", "serve", "service:svc"]
 
1
  # Use the official Python 3.9 image
2
+ FROM python:3.10
3
 
4
  # Set the working directory to /code
5
  WORKDIR /code
 
23
 
24
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
25
  COPY --chown=user . $HOME/app
26
+ CMD ["bentoml", "serve", "service:svc", "--production"]