Skip to content

Commit b699e7d

Browse files
authored
Merge pull request #101 from chrispoupart/feat/group-rewards
chore(backend): 🔨 Make shell scripts executable in Dockerfile
2 parents e2916bc + 4f15aa0 commit b699e7d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

backend/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ COPY --from=builder /app/dist ./dist
5959
RUN ls -la scripts/ || echo "Scripts directory not found in production stage"
6060
RUN ls -la dist/scripts/ || echo "Compiled scripts directory not found in production stage"
6161

62+
# Make all shell scripts executable
63+
RUN chmod +x /app/scripts/*.sh
64+
6265
# Change ownership of the app directory to the nodejs user
6366
RUN chown -R nodejs:nodejs /app
6467

0 commit comments

Comments
 (0)