Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
plausible-analytics
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
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
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
varac-projects
plausible-analytics
Commits
34dc955f
Commit
34dc955f
authored
3 years ago
by
Uku Taht
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Remove geonames file from Dockerfile"
This reverts commit
c3178b25
.
parent
e4b99dba
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+5
-0
5 additions, 0 deletions
Dockerfile
with
5 additions
and
0 deletions
Dockerfile
+
5
−
0
View file @
34dc955f
...
@@ -18,6 +18,8 @@ RUN apk add --no-cache git nodejs yarn python3 npm ca-certificates wget gnupg ma
...
@@ -18,6 +18,8 @@ RUN apk add --no-cache git nodejs yarn python3 npm ca-certificates wget gnupg ma
npm
install
npm@latest
-g
&&
\
npm
install
npm@latest
-g
&&
\
npm
install
-g
webpack
npm
install
-g
webpack
RUN
wget https://s3.eu-central-1.wasabisys.com/plausible-application/geonames.csv
-q
COPY
mix.exs ./
COPY
mix.exs ./
COPY
mix.lock ./
COPY
mix.lock ./
RUN
mix local.hex
--force
&&
\
RUN
mix local.hex
--force
&&
\
...
@@ -43,6 +45,8 @@ RUN npm run deploy --prefix ./assets && \
...
@@ -43,6 +45,8 @@ RUN npm run deploy --prefix ./assets && \
mix download_country_database
&&
\
mix download_country_database
&&
\
# https://hexdocs.pm/sentry/Sentry.Sources.html#module-source-code-storage
# https://hexdocs.pm/sentry/Sentry.Sources.html#module-source-code-storage
mix sentry_recompile
mix sentry_recompile
mix sentry_recompile && \
mv geonames.csv ./priv/geonames.csv
WORKDIR
/app
WORKDIR
/app
COPY
rel rel
COPY
rel rel
...
@@ -66,6 +70,7 @@ COPY --from=buildcontainer /app/_build/prod/rel/plausible /app
...
@@ -66,6 +70,7 @@ COPY --from=buildcontainer /app/_build/prod/rel/plausible /app
RUN
chown
-R
plausibleuser:plausibleuser /app
RUN
chown
-R
plausibleuser:plausibleuser /app
USER
plausibleuser
USER
plausibleuser
WORKDIR
/app
WORKDIR
/app
ENV
GEONAMES_SOURCE_FILE=/app/lib/plausible-0.0.1/priv/geonames.csv
ENTRYPOINT
["/entrypoint.sh"]
ENTRYPOINT
["/entrypoint.sh"]
EXPOSE
8000
EXPOSE
8000
CMD
["run"]
CMD
["run"]
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