mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
revert dockerfile
This commit is contained in:
parent
a56615f6db
commit
ca8ee7fd82
1 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
# Pull base image
|
# Pull base image
|
||||||
FROM python:3.10-slim-bullseye
|
FROM python:3.10.12-slim-buster
|
||||||
|
|
||||||
# Set environment variables
|
# Set environment variables
|
||||||
ENV PYTHONDONTWRITEBYTECODE 1
|
ENV PYTHONDONTWRITEBYTECODE 1
|
||||||
|
|
@ -9,7 +9,7 @@ ENV PYTHONUNBUFFERED 1
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install system dependencies
|
# Install system dependencies
|
||||||
RUN apt-get update && apt-get install -y netcat-openbsd && apt-get clean && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y netcat-openbsd
|
||||||
|
|
||||||
# Install python dependencies
|
# Install python dependencies
|
||||||
COPY ./requirements/base.txt ./requirements/base.txt
|
COPY ./requirements/base.txt ./requirements/base.txt
|
||||||
|
|
@ -20,4 +20,4 @@ RUN pip install -r requirements/base.txt
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# command to run on container start
|
# command to run on container start
|
||||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||||
Loading…
Add table
Reference in a new issue