dockerfile

This commit is contained in:
2026-01-22 16:26:21 +01:00
parent 611031ec6c
commit 7fc81a0f65

View File

@@ -11,15 +11,16 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY app.py . COPY app.py .
COPY malias_wrapper.py . COPY malias_wrapper.py .
COPY malias.py . COPY malias.py .
COPY reset_password.py .
COPY templates/ templates/ COPY templates/ templates/
COPY static/ static/ COPY static/ static/
# Create data directory # Create data directory
RUN mkdir -p /app/data RUN mkdir -p /app/data
# Copy entrypoint script # Copy entrypoint script and make scripts executable
COPY docker-entrypoint.sh . COPY docker-entrypoint.sh .
RUN chmod +x docker-entrypoint.sh RUN chmod +x docker-entrypoint.sh reset_password.py
# Expose port # Expose port
EXPOSE 5172 EXPOSE 5172