Skip to content

Commit

Permalink
feat(server): extend client dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret committed Feb 9, 2024
1 parent da3bd49 commit 3c47238
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion deploy/modo-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,12 @@ FROM ghcr.io/sdsc-ordes/smoc-api:latest
WORKDIR /app
COPY ./server.py /app

RUN python server.py
USER root

RUN pip install \
fastapi \
uvicorn

USER modo_user

CMD ["uvicorn", "server:app", "--reload"]

0 comments on commit 3c47238

Please sign in to comment.