mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-05-11 11:27:13 +02:00
feat: add Docker publishing via GitHub Actions
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user