fix: update Dockerfile and enhance article deletion route

- Changed the COPY command in Dockerfile to reference workers.json directly.
- Added basic authentication middleware to the article deletion route for improved security.
This commit is contained in:
Omar Sánchez Pizarro
2026-01-20 04:21:13 +01:00
parent d66c42c511
commit 38d644da1f
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ COPY middlewares/ ./middlewares/
COPY routes/ ./routes/
COPY services/ ./services/
COPY utils/ ./utils/
COPY ../../workers.json ./workers.json
COPY workers.json ./workers.json
# Exponer puerto
EXPOSE 3001