Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -31,10 +31,13 @@ WORKDIR /root/
|
|
| 31 |
# Copy the Pre-built binary file from the previous stage
|
| 32 |
COPY --from=builder /app/main .
|
| 33 |
|
|
|
|
|
|
|
|
|
|
| 34 |
# Ensure the main executable has execute permissions
|
| 35 |
RUN chmod +x ./main
|
| 36 |
|
| 37 |
-
# Debug step: list the contents of the /root directory
|
| 38 |
RUN ls -al /root
|
| 39 |
|
| 40 |
# Expose port 8080 to the outside world
|
|
|
|
| 31 |
# Copy the Pre-built binary file from the previous stage
|
| 32 |
COPY --from=builder /app/main .
|
| 33 |
|
| 34 |
+
# Debug step: list the contents of the /root directory
|
| 35 |
+
RUN ls -al /root
|
| 36 |
+
|
| 37 |
# Ensure the main executable has execute permissions
|
| 38 |
RUN chmod +x ./main
|
| 39 |
|
| 40 |
+
# Debug step: list the contents of the /root directory again to confirm permissions
|
| 41 |
RUN ls -al /root
|
| 42 |
|
| 43 |
# Expose port 8080 to the outside world
|