Docker changed
This commit is contained in:
parent
7eb3d18064
commit
5b32a9b3dc
@ -5,7 +5,7 @@ FROM python:3.9-slim
|
||||
ENV GROQ_API_KEY "add your GROQ API key here"
|
||||
|
||||
# Set work directory
|
||||
WORKDIR /app
|
||||
WORKDIR ./
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
@ -14,13 +14,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy requirements file
|
||||
COPY ./app/requirements.txt .
|
||||
COPY ./requirements.txt .
|
||||
|
||||
# Install Python dependencies
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy project
|
||||
COPY ./app /app
|
||||
COPY ./ /app
|
||||
|
||||
# Expose the port the app runs on
|
||||
EXPOSE 8000
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user