Spaces:
Build error
Build error
Update Dockerfile
Browse files- 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
|
| 10 |
|
| 11 |
# Make entrypoint script executable
|
| 12 |
-
RUN chmod +x /
|
| 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 |
-
|
| 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"]
|
|
|
|
|
|
|
|
|