Browse Source

Pongo usuario root

main
creylopez 10 months ago
parent
commit
6f043d1d09
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Dockerfile

+ 1
- 1
Dockerfile View File

@ -1,6 +1,7 @@
FROM python:3.11.4-slim-buster
# Añadir usuario y un grupo
USER 0
RUN addgroup --system app && adduser --system --group app
@ -9,7 +10,6 @@ ENV APP_HOME=/app
RUN mkdir -p $APP_HOME/datos
ADD . $APP_HOME
USER 0
# Install the dependencies
RUN apt-get update && apt-get install -y sqlite3


Loading…
Cancel
Save