Skip to content

Replacing hardcoded File.txt with hardcoded CSG_API.txt #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN mkdir /app/
# Set working directory
WORKDIR /app

# Create volume mount point for the File.txt
# Create volume mount point for the CSG_API.txt
VOLUME ["/app/data"]

RUN apt-get update && apt-get install -y \
Expand Down Expand Up @@ -50,4 +50,4 @@ COPY launch.sh /app/

RUN bash /app/launch.sh

CMD bash /app/launch.sh /app/data/File.txt 3742
CMD bash /app/launch.sh /app/data/CSG_API.txt 3742
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ services:
image: madhephaestus/csg-server-app:0.0.4
container_name: csg-server-app
volumes:
# Map your local File.txt to the container
- "/opt/File.txt:/app/data/File.txt:ro"
# Map your local CSG_API.txt to the container
- "/opt/CSG_API.txt:/app/data/CSG_API.txt:ro"
# X11 forwarding volumes
- /tmp/.X11-unix:/tmp/.X11-unix:rw
- ${HOME}/.Xauthority:/root/.Xauthority:rw
Expand Down