Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Kitsukey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kio!
Kitsukey
Commits
773ae9fb
Unverified
Commit
773ae9fb
authored
1 year ago
by
Marie
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
chore: change misskey to sharkey in dockerfile
parent
f6dc533e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+11
-11
11 additions, 11 deletions
Dockerfile
with
11 additions
and
11 deletions
Dockerfile
+
11
−
11
View file @
773ae9fb
...
...
@@ -16,7 +16,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
RUN
corepack
enable
WORKDIR
/
miss
key
WORKDIR
/
shar
key
COPY
--link ["pnpm-lock.yaml", "pnpm-workspace.yaml", "package.json", "./"]
COPY
--link ["scripts", "./scripts"]
...
...
@@ -46,7 +46,7 @@ RUN apt-get update \
RUN
corepack
enable
WORKDIR
/
miss
key
WORKDIR
/
shar
key
COPY
--link ["pnpm-lock.yaml", "pnpm-workspace.yaml", "package.json", "./"]
COPY
--link ["scripts", "./scripts"]
...
...
@@ -65,8 +65,8 @@ RUN apt-get update \
ffmpeg tini curl libjemalloc-dev libjemalloc2
\
&&
ln
-s
/usr/lib/
$(
uname
-m
)
-linux-gnu
/libjemalloc.so.2 /usr/local/lib/libjemalloc.so
\
&&
corepack
enable
\
&&
groupadd
-g
"
${
GID
}
"
miss
key
\
&&
useradd
-l
-u
"
${
UID
}
"
-g
"
${
GID
}
"
-m
-d
/
misskey miss
key
\
&&
groupadd
-g
"
${
GID
}
"
shar
key
\
&&
useradd
-l
-u
"
${
UID
}
"
-g
"
${
GID
}
"
-m
-d
/
sharkey shar
key
\
&&
find /
-type
d
-path
/proc
-prune
-o
-type
f
-perm
/u+s
-ignore_readdir_race
-exec
chmod
u-s
{}
\;
\
&&
find /
-type
d
-path
/proc
-prune
-o
-type
f
-perm
/g+s
-ignore_readdir_race
-exec
chmod
g-s
{}
\;
\
&&
apt-get clean
\
...
...
@@ -75,15 +75,15 @@ RUN apt-get update \
USER
misskey
WORKDIR
/misskey
COPY
--chown=
misskey:miss
key --from=target-builder /
miss
key/node_modules ./node_modules
COPY
--chown=
misskey:miss
key --from=target-builder /
miss
key/packages/backend/node_modules ./packages/backend/node_modules
COPY
--chown=
misskey:miss
key --from=native-builder /
miss
key/built ./built
COPY
--chown=
misskey:miss
key --from=native-builder /
miss
key/packages/backend/built ./packages/backend/built
COPY
--chown=
misskey:miss
key --from=native-builder /
miss
key/fluent-emojis /
miss
key/fluent-emojis
COPY
--chown=
misskey:miss
key . ./
COPY
--chown=
sharkey:shar
key --from=target-builder /
shar
key/node_modules ./node_modules
COPY
--chown=
sharkey:shar
key --from=target-builder /
shar
key/packages/backend/node_modules ./packages/backend/node_modules
COPY
--chown=
sharkey:shar
key --from=native-builder /
shar
key/built ./built
COPY
--chown=
sharkey:shar
key --from=native-builder /
shar
key/packages/backend/built ./packages/backend/built
COPY
--chown=
sharkey:shar
key --from=native-builder /
shar
key/fluent-emojis /
shar
key/fluent-emojis
COPY
--chown=
sharkey:shar
key . ./
ENV
LD_PRELOAD=/usr/local/lib/libjemalloc.so
ENV
NODE_ENV=production
HEALTHCHECK
--interval=5s --retries=20 CMD ["/bin/bash", "/
miss
key/healthcheck.sh"]
HEALTHCHECK
--interval=5s --retries=20 CMD ["/bin/bash", "/
shar
key/healthcheck.sh"]
ENTRYPOINT
["/usr/bin/tini", "--"]
CMD
["pnpm", "run", "migrateandstart"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment