Skip to content

Commit

Permalink
Add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoutigeWolf committed Dec 18, 2024
1 parent 512a9a4 commit 22b002c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions AH-UN Schedule API/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM mambaorg/micromamba:0.27.0

COPY --chown=$MAMBA_USER:$MAMBA_USER environment.yaml /tmp/environment.yaml

RUN micromamba install -y -n base -f /tmp/environment.yaml && \
micromamba clean --all --yes

WORKDIR /code

COPY ./app /code/app

CMD ["uvicorn", "app.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80", "--workers", "4"]

0 comments on commit 22b002c

Please sign in to comment.