Skip to content

Commit 1d42b95

Browse files
committed
Reduce docker file copied files
1 parent 9ecdbef commit 1d42b95

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

docker/api/Dockerfile

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ENV NLTK_DATA=/usr/local/share/nltk_data
2121
ARG UNIQUE_IDENTIFIER=promptly
2222

2323
# Install processors
24-
RUN poetry install --no-root --with processors
24+
RUN poetry install --no-root --only processors
2525

2626
RUN python -m nltk.downloader -d /usr/local/share/nltk_data 'punkt'
2727
RUN python -m nltk.downloader -d /usr/local/share/nltk_data 'averaged_perceptron_tagger'
@@ -82,8 +82,22 @@ RUN set -ex \
8282
COPY --from=builder /code/llmstack/client/build/index.html /code/client/build/index.html
8383
COPY --from=builder /code/llmstack/client/build/static /code/client/build/static
8484
COPY --from=builder /code/llmstack/contrib/apps /code/llmstack/contrib/apps
85-
COPY --from=builder /code/llmstack /code/llmstack
8685
COPY --from=builder /code/llmstack/static /code/llmstack/static
86+
COPY --from=builder /code/llmstack/apps /code/llmstack/apps
87+
COPY --from=builder /code/llmstack/assets /code/llmstack/assets
88+
COPY --from=builder /code/llmstack/base /code/llmstack/base
89+
COPY --from=builder /code/llmstack/common /code/llmstack/common
90+
COPY --from=builder /code/llmstack/connections /code/llmstack/connections
91+
COPY --from=builder /code/llmstack/data /code/llmstack/data
92+
COPY --from=builder /code/llmstack/emails /code/llmstack/emails
93+
COPY --from=builder /code/llmstack/events /code/llmstack/events
94+
COPY --from=builder /code/llmstack/fixtures /code/llmstack/fixtures
95+
COPY --from=builder /code/llmstack/generated_files /code/llmstack/generated_files
96+
COPY --from=builder /code/llmstack/jobs /code/llmstack/jobs
97+
COPY --from=builder /code/llmstack/organizations /code/llmstack/organizations
98+
COPY --from=builder /code/llmstack/play /code/llmstack/play
99+
COPY --from=builder /code/llmstack/processors /code/llmstack/processors
100+
COPY --from=builder /code/llmstack/server /code/llmstack/server
87101
COPY --from=builder /code/manage.py /code/manage.py
88102
COPY --from=builder /code/docker/api/docker-entrypoint.sh /code/docker-entrypoint.sh
89103

0 commit comments

Comments
 (0)