feat: add Docker publishing via GitHub Actions

Former-commit-id: 36c92881c8
This commit is contained in:
anoracleofra-code
2026-03-08 14:04:03 -06:00
parent 75537a8570
commit 5cefd8f8d5
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