dockerfile
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user