Browse Source

Pongo usuario de trabajo en Dockerfile

main
Celestino Rey 11 months ago
parent
commit
bc8327ad74
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Dockerfile

+ 2
- 2
Dockerfile View File

@ -2,14 +2,14 @@ FROM python:3.14.0a3-alpine3.20
# Add application sources with correct permissions for OpenShift # Add application sources with correct permissions for OpenShift
ENV APP_HOME=/app ENV APP_HOME=/app
RUN mkdir -p $APP_HOME
WORKDIR $APP_HOME
USER 0 USER 0
# Install the dependencies # Install the dependencies
RUN apk add sqlite RUN apk add sqlite
RUN mkdir -p $APP_HOME
WORKDIR $APP_HOME
ADD . $APP_HOME ADD . $APP_HOME
RUN chown -R 1000770000:0 ./ RUN chown -R 1000770000:0 ./
USER 1000770000 USER 1000770000


Loading…
Cancel
Save