clone3 commited on
Commit
01ab88f
·
verified ·
1 Parent(s): 7ea4577

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -6
Dockerfile CHANGED
@@ -6,10 +6,10 @@ RUN apt-get update && \
6
 
7
  # Copy backend server files
8
  COPY build/ /app/build/
9
- COPY entrypoint.sh /entrypoint.sh
10
 
11
  # Make entrypoint script executable
12
- RUN chmod +x /entrypoint.sh && chmod +x /app/build/tanks.x86_64
13
 
14
  # Create logs directory
15
  RUN mkdir -p /app/logs
@@ -46,7 +46,4 @@ COPY --from=web_client /etc/nginx/conf.d /etc/nginx/conf.d
46
  EXPOSE 80 7777/udp 7778/tcp 7860
47
 
48
  # Entry point script
49
- COPY entrypoint_combined.sh /entrypoint_combined.sh
50
- RUN chmod +x /entrypoint_combined.sh
51
-
52
- ENTRYPOINT ["/bin/bash", "/entrypoint_combined.sh"]
 
6
 
7
  # Copy backend server files
8
  COPY build/ /app/build/
9
+ COPY entrypoint_combined.sh /app/entrypoint_combined.sh
10
 
11
  # Make entrypoint script executable
12
+ RUN chmod +x /app/entrypoint_combined.sh && chmod +x /app/build/tanks.x86_64
13
 
14
  # Create logs directory
15
  RUN mkdir -p /app/logs
 
46
  EXPOSE 80 7777/udp 7778/tcp 7860
47
 
48
  # Entry point script
49
+ ENTRYPOINT ["/bin/bash", "/app/entrypoint_combined.sh"]