Skip to content

Commit

Permalink
bug fix (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
hynix authored Jul 22, 2022
1 parent 07510eb commit c205ca5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM openjdk:11-jre-slim-stretch as server

ARG SPARK_VERSION=3.3.0
ARG HADOOP_VERSION=3

WORKDIR /home/app/
COPY server/ ./server/
Expand All @@ -25,6 +26,7 @@ RUN yarn install && yarn build
FROM openjdk:11-jre-slim-stretch

ARG SPARK_VERSION=3.3.0
ARG HADOOP_VERSION=3

ENV FRONTEND_PATH=/home/app/frontend/
ENV SPARK_HOME=/home/app/spark/
Expand All @@ -39,7 +41,7 @@ COPY --from=server /home/app/server/build/docker/main/layers/resources /home/app
COPY --from=server /home/app/server/build/docker/main/layers/application.jar /home/app/application.jar

COPY --from=frontend /home/app/frontend/build/ ./frontend/
COPY --from=frontend /home/app/spark-${SPARK_VERSION}-bin-hadoop3.2/ ./spark/
COPY --from=frontend /home/app/spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}/ ./spark/

COPY k8s/ ./k8s/

Expand Down

0 comments on commit c205ca5

Please sign in to comment.