chore: dockerfile

This commit is contained in:
Timothy J. Baek
2024-05-30 18:32:55 -07:00
parent 967cc674a9
commit 7264d5df66
4 changed files with 406 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM python:3.11-slim-bookworm as base
# Install GCC and build tools
RUN apt-get update && \
apt-get install -y gcc build-essential && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Copy the application code
COPY . /app
WORKDIR /app
# Install Python dependencies
RUN pip3 install --no-cache-dir -r requirements.txt
ENV HOST="0.0.0.0"
ENV PORT="9099"
ENTRYPOINT [ "bash", "start.sh" ]