Skip to content

Commit

Permalink
test lagi
Browse files Browse the repository at this point in the history
  • Loading branch information
syafiqparadisam committed Jul 24, 2024
1 parent 0ea5a27 commit d5cbaad
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions project/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ RUN --mount=type=secret,id=VITE_SERVICE_ID \

RUN export VITE_SERVICE_ID=$(cat /run/secrets/VITE_SERVICE_ID) \
&& export VITE_TEMPLATE_ID=$(cat /run/secrets/VITE_TEMPLATE_ID) \
&& export VITE_PUBLIC_KEY=$(cat /run/secrets/VITE_PUBLIC_KEY) \
&& npm run build
&& export VITE_PUBLIC_KEY=$(cat /run/secrets/VITE_PUBLIC_KEY)

COPY . .
# ENV VITE_PUBLIC_KEY=Y5qSjyArYPDPZXVdM
Expand All @@ -33,11 +32,6 @@ RUN npm install
# Build the application
RUN npm run build

RUN echo ${VITE_PUBLIC_KEY}
RUN echo ${VITE_TEMPLATE_ID}
RUN echo ${VITE_SERVICE_ID}


# Use a lightweight web server to serve the app
FROM nginx:alpine

Expand Down

0 comments on commit d5cbaad

Please sign in to comment.