Commit 0a543d11 by 周田

docker

parent 65f59461
......@@ -2,10 +2,25 @@ FROM python:3.9.18
WORKDIR /app
COPY . /app
COPY ./chat /app/chat
COPY ./database /app/database
COPY ./device_communication /app/device_communication
COPY ./device_data_op /app/device_data_op
COPY ./download_db /app/download_db
COPY ./mqtt /app/mqtt
COPY ./protocol_raw_files /app/protocol_raw_files
COPY ./protocol_version_manage /app/protocol_version_manage
COPY ./simulate_device_manager /app/simulate_device_manager
COPY ./static /app/static
COPY ./vue_django /app/vue_django
COPY ./pyproject.toml /app/pyproject.toml
COPY ./poetry.lock /app/poetry.lock
COPY ./manage.py /app/manage.py
COPY ./README.md /app/README.md
RUN pip install poetry
RUN poetry config virtualenvs.create false && poetry install --no-dev --no-interaction --no-ansi
RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi
EXPOSE 8000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment