build: retain tests directory in Docker image.

main
Cizz22 2 weeks ago
parent 3611d9dbe2
commit 21601f3293

@ -26,8 +26,6 @@ ENV POETRY_VIRTUALENVS_IN_PROJECT=1 \
COPY --from=builder /app/.venv /app/.venv COPY --from=builder /app/.venv /app/.venv
# Copy application files # Copy application files
COPY . /app/ COPY . /app/
# Delete Tests for production
RUN rm -rf /app/tests/
# Add custom configuration to root's .bashrc including password protection # Add custom configuration to root's .bashrc including password protection
RUN echo "# Custom configurations added by Dockerfile" >> /root/.bashrc && \ RUN echo "# Custom configurations added by Dockerfile" >> /root/.bashrc && \

Loading…
Cancel
Save