feat: add Docker publishing via GitHub Actions

This commit is contained in:
anoracleofra-code
2026-03-08 14:04:03 -06:00
parent d95e2f9501
commit 38d92ac6cc
7 changed files with 230 additions and 37 deletions
+7
View File
@@ -9,6 +9,13 @@ RUN pip install --no-cache-dir -r requirements.txt
# Copy source code
COPY . .
# Create a non-root user for security
RUN adduser --system --uid 1001 backenduser \
&& chown -R backenduser /app
# Switch to the non-root user
USER backenduser
# Expose port
EXPOSE 8000