Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mastofe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Pleroma
mastofe
Commits
0852e643
Commit
0852e643
authored
5 years ago
by
Alfie John
Committed by
Eugen Rochko
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Expand abbreviation to minimise confusion (#10826)
parent
4168aeb2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+3
-3
3 additions, 3 deletions
Dockerfile
with
3 additions
and
3 deletions
Dockerfile
+
3
−
3
View file @
0852e643
...
...
@@ -86,7 +86,7 @@ RUN apt update && \
useradd
-m
-u
$UID
-g
$GID
-d
/opt/mastodon mastodon
&&
\
echo
"mastodon:
`
head
/dev/urandom |
tr
-dc
A-Za-z0-9 |
head
-c
24 | mkpasswd
-s
-m
sha-256
`
"
| chpasswd
# Install masto runtime deps
# Install masto
don
runtime deps
RUN
apt
-y
--no-install-recommends
install
\
libssl1.1 libpq5 imagemagick ffmpeg
\
libicu60 libprotobuf10 libidn11 libyaml-0-2
\
...
...
@@ -104,11 +104,11 @@ ADD https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini /tin
RUN
echo
"
$TINI_SUM
tini"
|
sha256sum
-c
-
RUN
chmod
+x /tini
# Copy over masto source, and dependencies from building, and set permissions
# Copy over masto
don
source, and dependencies from building, and set permissions
COPY
--chown=mastodon:mastodon . /opt/mastodon
COPY
--from=build-dep --chown=mastodon:mastodon /opt/mastodon /opt/mastodon
# Run masto services in prod mode
# Run masto
don
services in prod mode
ENV
RAILS_ENV="production"
ENV
NODE_ENV="production"
...
...
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