diff --git a/.drone.yml b/.drone.yml index b2d9ab2..8061ebb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -61,9 +61,8 @@ steps: environment: PAYLOAD_URL: "https://admin.paystro.swarm-demo.autonomic.zone" commands: - - ls / - cd astro - - mv /build/node_modules . + - mv /base/node_modules . - yarn build - name: copy built content to stack image: git.coopcloud.tech/coop-cloud/docker-cp-deploy:latest diff --git a/astro/Dockerfile b/astro/Dockerfile index 8101e25..904b240 100644 --- a/astro/Dockerfile +++ b/astro/Dockerfile @@ -2,15 +2,15 @@ FROM node:lts-alpine as base WORKDIR /base COPY package.json yarn.lock ./ RUN yarn install --frozen-lockfile -COPY . . - -FROM base AS dev -ENV NODE_ENV=development -EXPOSE 3000 -CMD ["yarn","dev"] - -FROM base AS build -ENV NODE_ENV=production -# WORKDIR /build -# COPY --from=base /base . -ADD "https://random-uuid.deno.dev" skipcache +# COPY . . +# +# FROM base AS dev +# ENV NODE_ENV=development +# EXPOSE 3000 +# CMD ["yarn","dev"] +# +# FROM base AS build +# ENV NODE_ENV=production +# # WORKDIR /build +# # COPY --from=base /base . +# ADD "https://random-uuid.deno.dev" skipcache