restructure the project for packaging
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy only necessary files and directories
|
||||
COPY src/auracaster_webui/ ./src/auracaster_webui/
|
||||
COPY src/api_client/ ./src/api_client/
|
||||
|
||||
# Install the package
|
||||
RUN pip install --no-cache-dir .
|
||||
|
||||
# Expose Streamlit port
|
||||
EXPOSE 8501
|
||||
|
||||
# Set environment variables
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
# Run the Streamlit app
|
||||
CMD ["auracaster-webui"]
|
||||
Reference in New Issue
Block a user