Spaces:
Sleeping
Sleeping
Commit
·
ab955a3
1
Parent(s):
52e5228
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
@@ -11,6 +11,11 @@ COPY . /app
|
|
11 |
# Install gosu (adjust the package manager based on your base image)
|
12 |
RUN apt-get update && apt-get install -y gosu && rm -rf /var/lib/apt/lists/*
|
13 |
|
|
|
|
|
|
|
|
|
|
|
14 |
# Set the entrypoint script as executable
|
15 |
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
16 |
RUN chmod +x /usr/local/bin/entrypoint.sh
|
|
|
11 |
# Install gosu (adjust the package manager based on your base image)
|
12 |
RUN apt-get update && apt-get install -y gosu && rm -rf /var/lib/apt/lists/*
|
13 |
|
14 |
+
|
15 |
+
# Set appropriate permissions for the application directory
|
16 |
+
RUN chown -R appuser:appuser /app && chmod -R 755 /app
|
17 |
+
|
18 |
+
|
19 |
# Set the entrypoint script as executable
|
20 |
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
21 |
RUN chmod +x /usr/local/bin/entrypoint.sh
|