Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
FROM nginx:latest
|
| 2 |
|
| 3 |
# Definir un ARG para la reconstrucci贸n
|
| 4 |
-
ARG FORCE_REBUILD
|
| 5 |
-
ENV FORCE_REBUILD=${FORCE_REBUILD}
|
| 6 |
|
| 7 |
# Configurar un usuario sin privilegios
|
| 8 |
RUN useradd -m -u 1000 appuser
|
|
@@ -44,7 +44,7 @@ USER appuser
|
|
| 44 |
|
| 45 |
# Exponer puertos
|
| 46 |
EXPOSE 7860
|
| 47 |
-
EXPOSE
|
| 48 |
|
| 49 |
# Comando de inicio
|
| 50 |
CMD node ./test.txt.js & nginx -c /app/nginx.conf -g "daemon off;"
|
|
|
|
| 1 |
FROM nginx:latest
|
| 2 |
|
| 3 |
# Definir un ARG para la reconstrucci贸n
|
| 4 |
+
#ARG FORCE_REBUILD
|
| 5 |
+
#ENV FORCE_REBUILD=${FORCE_REBUILD}
|
| 6 |
|
| 7 |
# Configurar un usuario sin privilegios
|
| 8 |
RUN useradd -m -u 1000 appuser
|
|
|
|
| 44 |
|
| 45 |
# Exponer puertos
|
| 46 |
EXPOSE 7860
|
| 47 |
+
EXPOSE 5000
|
| 48 |
|
| 49 |
# Comando de inicio
|
| 50 |
CMD node ./test.txt.js & nginx -c /app/nginx.conf -g "daemon off;"
|