Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
FROM composer:2.0 AS composer

ARG TESTING=false
ENV TESTING=$TESTING

WORKDIR /usr/local/src/
COPY composer.lock /usr/local/src/
COPY composer.json /usr/local/src/
Expand All @@ -24,10 +21,13 @@ WORKDIR /usr/src/code
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" \
&& echo "memory_limit=256M" >> $PHP_INI_DIR/php.ini

# Install required tooling
RUN apk add --no-cache git

# Copy composer dependencies
COPY --from=composer /usr/local/src/vendor /usr/src/code/vendor

# Add Source Code
COPY . /usr/src/code

CMD [ "tail", "-f", "/dev/null" ]
CMD [ "tail", "-f", "/dev/null" ]
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ services:
- ./tests:/usr/src/code/tests
- ./phpunit.xml:/usr/src/code/phpunit.xml
environment:
- TESTING=true
- LLM_KEY_ANTHROPIC=${LLM_KEY_ANTHROPIC:-}
- LLM_KEY_OPENAI=${LLM_KEY_OPENAI:-}
- LLM_KEY_DEEPSEEK=${LLM_KEY_DEEPSEEK:-}
Expand Down
Loading