mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
[docker] Don't run yarn focus, as it's useless due to us using zero installs
Ref: https://yarnpkg.com/cli/workspaces/focus#details
This commit is contained in:
parent
766bbbfa6c
commit
f8281c914c
1 changed files with 0 additions and 9 deletions
|
@ -29,15 +29,6 @@ COPY . ./
|
||||||
# Build the thing
|
# Build the thing
|
||||||
RUN env NODE_ENV=production yarn build
|
RUN env NODE_ENV=production yarn build
|
||||||
|
|
||||||
# Prepare yarn cache (production)
|
|
||||||
RUN --mount=type=cache,target=/iceshrimp/.yarncache_prod cp -Tr .yarncache_prod .yarn
|
|
||||||
|
|
||||||
# Trim down the dependencies to only those for production
|
|
||||||
RUN yarn workspaces focus --all --production
|
|
||||||
|
|
||||||
# Save yarn cache (production)
|
|
||||||
RUN --mount=type=cache,target=/iceshrimp/.yarncache_prod rm -rf .yarncache_prod/* && cp -Tr .yarn .yarncache_prod
|
|
||||||
|
|
||||||
## Runtime container
|
## Runtime container
|
||||||
FROM alpine:3.18
|
FROM alpine:3.18
|
||||||
WORKDIR /iceshrimp
|
WORKDIR /iceshrimp
|
||||||
|
|
Loading…
Reference in a new issue