16 lines
245 B
Docker
16 lines
245 B
Docker
|
FROM python:slim
|
||
|
|
||
|
RUN apt-get update && apt-get install -y \
|
||
|
postgresql-client \
|
||
|
curl \
|
||
|
&& rm -rf /var/lib/apt/lists/*
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY requirements.txt .
|
||
|
|
||
|
RUN pip install -r requirements.txt
|
||
|
|
||
|
COPY . .
|
||
|
|
||
|
CMD ["python", "server.py"]
|