16 lines
264 B
Docker
16 lines
264 B
Docker
FROM python:3.12-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt /app/
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . /app/
|
|
|
|
# Make entrypoint script executable
|
|
RUN chmod +x /app/entrypoint.sh
|
|
|
|
EXPOSE 5000
|
|
|
|
ENTRYPOINT ["/app/entrypoint.sh"]
|
|
CMD ["server"]
|