diff --git a/backend/code-execution-service/Dockerfile b/backend/code-execution-service/Dockerfile index 714757a..dfde0b2 100644 --- a/backend/code-execution-service/Dockerfile +++ b/backend/code-execution-service/Dockerfile @@ -1,29 +1,27 @@ FROM golang:1.23-alpine -# Set non-interactive mode for apt-get + ENV DEBIAN_FRONTEND=noninteractive -# Install additional required packages RUN apk add --no-cache \ python3 \ gcc \ g++ \ openjdk11 \ - bash + bash \ + rust \ + cargo + -# Check if javac is installed RUN javac -version || echo "javac not found" WORKDIR /app -# Copy go.mod and main.go to download dependencies COPY go.mod main.go ./ RUN go mod download -# Copy the rest of the application code COPY . . -# Build the Go application RUN go build -o code-execution-service . EXPOSE 8081