Compare commits
No commits in common. "ab073fe7ec3aa9f3bea4e870fd9aaa5cfabef8ae" and "9dfb1342e5648a45d96907356e8f492061f583c0" have entirely different histories.
ab073fe7ec
...
9dfb1342e5
12
.drone.yml
12
.drone.yml
@ -3,12 +3,12 @@ type: docker
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# - name: Build with node
|
- name: Build with node
|
||||||
# image: node:19
|
image: node:19
|
||||||
# commands:
|
commands:
|
||||||
# - yarn install
|
- yarn install
|
||||||
# - yarn build
|
- yarn build
|
||||||
- name: Build and publish to docker
|
- name: Publish to docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
|
@ -4,10 +4,8 @@ RUN mkdir -p /app
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY ["package.json", "yarn.lock", ".yarnrc.yml", "/app/"]
|
COPY ["package.json", "yarn.lock", ".yarnrc.yml", "/app/"]
|
||||||
COPY [".yarn", "/app/.yarn"]
|
|
||||||
COPY ["src", "/app/src"]
|
COPY ["src", "/app/src"]
|
||||||
|
|
||||||
|
|
||||||
RUN yarn install
|
RUN yarn install
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
@ -21,7 +19,6 @@ WORKDIR /app
|
|||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
COPY ["package.json", "yarn.lock", ".yarnrc.yml", "/usr/src/app/"]
|
COPY ["package.json", "yarn.lock", ".yarnrc.yml", "/usr/src/app/"]
|
||||||
COPY [".yarn", "/app/.yarn"]
|
|
||||||
|
|
||||||
RUN yarn install
|
RUN yarn install
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user