fix: add USER
All checks were successful
Lint, Build, Scan and Publish Docker Image / build-and-push (push) Successful in 1m31s
All checks were successful
Lint, Build, Scan and Publish Docker Image / build-and-push (push) Successful in 1m31s
This commit is contained in:
@@ -13,6 +13,10 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|||||||
# Copy the current directory contents into the container at /app
|
# Copy the current directory contents into the container at /app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
RUN chown -R 1001:1001 /app
|
||||||
|
|
||||||
|
USER 1001
|
||||||
|
|
||||||
# Make port 9080 available to the world outside this container
|
# Make port 9080 available to the world outside this container
|
||||||
EXPOSE 9080
|
EXPOSE 9080
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user