Skip to content

Commit

Permalink
build Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kjaymiller committed Apr 1, 2023
1 parent b5d98fa commit 2769f54
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM python:3.11
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update && apt-get install -y xdg-utils \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*

RUN python -m pip install --upgrade pip
WORKDIR /app
COPY requirements.txt .
RUN python -m pip install -r requirements.txt
EXPOSE 8000:8000
COPY . .

# Start the app
# CMD uvicorn app.main:app --host 0.0.0.0 --port 8000

0 comments on commit 2769f54

Please sign in to comment.