fix(dockerfile): was expecting ubuntu like syntax for user management
Build and Push Docker Image / build-and-push (push) Successful in 22m1s
Build and Push Docker Image / build-and-push (push) Successful in 22m1s
This commit is contained in:
@@ -8,9 +8,5 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN useradd app
|
||||
|
||||
USER app
|
||||
|
||||
CMD ["python3", "main.py"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user