|
|
|
@ -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 && \
|
|
|
|
|