|
|
|
@ -39,9 +39,6 @@ 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 password access
|
|
|
|
# Add password access
|
|
|
|
RUN echo "# Custom configurations added by Dockerfile" >> /root/.bashrc && \
|
|
|
|
RUN echo "# Custom configurations added by Dockerfile" >> /root/.bashrc && \
|
|
|
|
echo "export APP_PATH=/app" >> /root/.bashrc && \
|
|
|
|
echo "export APP_PATH=/app" >> /root/.bashrc && \
|
|
|
|
|