File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,8 +13,10 @@ RUN apt-get update && apt-get install -y \
1313# Download and extract Ballerina SDK
1414RUN curl -L https://dist.ballerina.io/downloads/2201.12.0/ballerina-2201.12.0-swan-lake.zip -o ballerina.zip && \
1515 unzip -t ballerina.zip && \
16- unzip ballerina.zip -d /opt/ballerina && \
17- rm ballerina.zip
16+ unzip ballerina.zip -d /opt && \
17+ rm ballerina.zip && \
18+ chmod +x /opt/ballerina-2201.12.0-swan-lake/bin/bal && \
19+ /opt/ballerina-2201.12.0-swan-lake/bin/bal version
1820ENV PATH="/opt/ballerina-2201.12.0-swan-lake/bin:${PATH}"
1921
2022# Build the backend
@@ -36,4 +38,4 @@ USER 10001
3638
3739# Prepare the final image
3840WORKDIR /app
39- CMD ["sh" , "-c" , "java -jar /app/Back-End/target/bin/ResourceHub.jar & npx serve -s /app/Front-End/build -l 80" ]
41+ CMD ["sh" , "-c" , "java -jar /app/Back-End/target/bin/ResourceHub.jar & npx serve -s /app/Front-End/build -l 80" ]
You can’t perform that action at this time.
0 commit comments