Skip to content

Commit

Permalink
Update Dockerfile to remove unnecessary .env file copy
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoCoding committed Apr 9, 2024
1 parent 7eb53d9 commit 93de3ac
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ RUN npm install --only=production

# Copy the built JavaScript code and the .env file from the 'builder' stage
COPY --from=builder /usr/src/app/dist ./dist
COPY --from=builder /usr/src/app/.env ./

# Expose port 3000
EXPOSE 3000
Expand Down

0 comments on commit 93de3ac

Please sign in to comment.