Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
taller_lexdatum_2024_app-pimd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alejper
taller_lexdatum_2024_app-pimd
Commits
ddb94eaa
Commit
ddb94eaa
authored
9 months ago
by
alejper
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
94755246
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
analizar-app/Dockerfile
+23
-0
23 additions, 0 deletions
analizar-app/Dockerfile
with
23 additions
and
0 deletions
analizar-app/Dockerfile
0 → 100644
+
23
−
0
View file @
ddb94eaa
# Usar una imagen base de Ubuntu
FROM
ubuntu:20.04
# Establecer variables de entorno para evitar prompts de instalación
ENV
DEBIAN_FRONTEND=noninteractive
# Actualizar el sistema e instalar dependencias
RUN
apt-get update
&&
\
apt-get install -y python3 python3-pip && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Instalar las dependencias de Python
RUN
pip
install
requests
# Establecer directorio de trabajo para el script de análisis
WORKDIR
/app
# Copiar los scripts de análisis
COPY
analizar_app.py /app/
# Definir el comando de entrada para ejecutar el análisis
ENTRYPOINT
["python3", "/app/analizar_app.py"]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment