Update image build process
This commit is contained in:
1 parent
06bd0cd90a
commit
bae6e36478
1 file changed
+1
-1
+1
-1
@@ -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