Skip to content

Commit

Permalink
Copy only required files to docker (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii authored Feb 15, 2025
1 parent 193cee2 commit 3a66f03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ WORKDIR /app

COPY --from=builder ${VIRTUAL_ENV} ${VIRTUAL_ENV}

COPY . .
COPY pyproject.toml poetry.lock ./
COPY mech_tool_deployment mech_tool_deployment
COPY tests tests

ENV PYTHONPATH=/app
ENV PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
Expand Down

0 comments on commit 3a66f03

Please sign in to comment.