File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ COPY --from=publish /app/publish .
2929COPY --from=publish /app/hotfix/GameFrameX.Hotfix.dll /app/hotfix-default/
3030COPY --from=publish /app/hotfix/json /app/json-default/
3131
32- RUN mkdir -p /app/hotfix /app/json /app/logs && \
32+ RUN mkdir -p /app/hotfix /app/json /app/data /app/data/ logs && \
3333 printf '#!/bin/sh\n \
3434if [ -z "$(ls -A /app/hotfix 2>/dev/null)" ]; then\n \
3535 echo "hotfix directory is empty, copying defaults..."\n \
@@ -40,6 +40,8 @@ if [ -z "$(ls -A /app/json 2>/dev/null)" ]; then\n\
4040 cp -r /app/json-default/* /app/json/\n \
4141fi\n \
4242exec "$@"' > /app/entrypoint.sh && \
43+ chown -R $APP_UID:0 /app/hotfix /app/json /app/data && \
44+ chmod -R u+rwX,g+rwX /app/hotfix /app/json /app/data && \
4345 chmod +x /app/entrypoint.sh
4446
4547USER $APP_UID
You can’t perform that action at this time.
0 commit comments