Skip to content

Commit 789808e

Browse files
committed
chore: merge logic in dockerfile
1 parent 463b593 commit 789808e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ COPY --from=builder /app/./env.sh .
3737
COPY --from=builder /app/.env .
3838
COPY --from=builder /app/health.html .
3939

40-
RUN chown -R devtron:devtron /usr/share/nginx/html
4140
# Make our shell script executable
42-
RUN chmod +x env.sh
41+
RUN chown -R devtron:devtron /usr/share/nginx/html && \
42+
chmod +x env.sh
4343
USER devtron
4444
CMD ["/bin/bash", "-c", "/usr/share/nginx/html/env.sh && nginx -g \"daemon off;\""]

0 commit comments

Comments
 (0)