diff --git a/Dockerfile b/Dockerfile index 0ca0cf5..37ace3d 100755 --- a/Dockerfile +++ b/Dockerfile @@ -19,8 +19,7 @@ COPY . . # Copy entrypoint script and make it executable COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh && \ - dos2unix /entrypoint.sh +RUN chmod +x /entrypoint.sh # Expose the application port EXPOSE 7171 diff --git a/entrypoint.sh b/entrypoint.sh index a064deb..56f784e 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash set -e # Check if both PUID and PGID are not set