-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker: respect puid pgid env, no longer expose SAVE_PATH env
- Loading branch information
Showing
5 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
FROM nikolaik/python-nodejs:python3.12-nodejs21-slim | ||
|
||
ENV PATH=/usr/local/nginx/bin:$PATH | ||
EXPOSE $APP_PORT | ||
EXPOSE 58888 | ||
VOLUME [ "/mnt/gamesave" ] | ||
|
||
WORKDIR /app | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
tini \ | ||
gosu \ | ||
tzdata \ | ||
&& apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
||
COPY --chown=pn:pn ./ /app | ||
COPY --chown=pn:pn --chmod=777 ./ /app | ||
|
||
RUN cd "/app/frontend/palworld-pal-editor-webui" \ | ||
&& npm install \ | ||
&& npm run build \ | ||
&& mv "/app/frontend/palworld-pal-editor-webui/dist" "/app/src/palworld_pal_editor/webui" | ||
|
||
RUN pip install --no-cache-dir -r requirements.txt \ | ||
&& pip install -e . | ||
pip install -e . | ||
|
||
RUN chmod +x /app/docker/app.sh | ||
|
||
ENTRYPOINT ["tini", "-g", "--"] | ||
|
||
CMD ["/app/docker/app.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters