Update image build process
Some checks failed
Docker Build and Push / build-and-push (push) Failing after 47s
Some checks failed
Docker Build and Push / build-and-push (push) Failing after 47s
This commit is contained in:
@@ -17,7 +17,7 @@ COPY requirements.txt .
|
|||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
# Create a non-root user
|
# Create a non-root user
|
||||||
RUN addgroup -S bot && adduser -S bot -G bot
|
RUN groupadd -r bot && useradd -r -g bot bot
|
||||||
|
|
||||||
# Copy the rest of the application
|
# Copy the rest of the application
|
||||||
COPY --chown=bot:bot . .
|
COPY --chown=bot:bot . .
|
||||||
|
Reference in New Issue
Block a user