mirror of
https://github.com/marcogll/ap_pos.git
synced 2026-01-13 21:25:16 +00:00
feat: Release version 1.3.1 with Docker optimization and comprehensive documentation
- Update version to 1.3.1 in package.json and docker-compose.yml - Optimize Dockerfile with proper data directory structure for production - Add comprehensive Docker documentation (DOCKER.md) - Include deployment and backup scripts (deploy.sh, backup.sh) - Add .env.example for environment configuration - Improve README with detailed deployment instructions - Fix database path handling for Docker production environment - Add health checks and proper Docker Compose configuration - Remove development task documentation - Update .gitignore to exclude backup directories 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -16,9 +16,10 @@ RUN npm ci --omit=dev && npm cache clean --force
|
||||
# 6. Copiar el resto de la aplicación
|
||||
COPY . .
|
||||
|
||||
# 7. Crear usuario no root y darle permisos
|
||||
RUN addgroup -S app && adduser -S app -G app \
|
||||
&& chown -R app:app /app
|
||||
# 7. Crear directorio para la base de datos y usuario no root
|
||||
RUN mkdir -p /app/data && \
|
||||
addgroup -S app && adduser -S app -G app && \
|
||||
chown -R app:app /app
|
||||
USER app
|
||||
|
||||
# 8. Exponer el puerto
|
||||
|
||||
Reference in New Issue
Block a user