forked from RocketChat/Rocket.Chat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Set Docker image tag to latest only when really latest (Rocket…
- Loading branch information
Showing
2 changed files
with
25 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,19 +4,19 @@ RUN apk add --no-cache python3 make g++ libc6-compat ttf-dejavu | |
|
||
ADD . /app | ||
|
||
MAINTAINER [email protected] | ||
LABEL maintainer="[email protected]" | ||
|
||
RUN set -x \ | ||
&& cd /app/bundle/programs/server \ | ||
&& npm install --production \ | ||
# Start hack for sharp... | ||
&& rm -rf npm/node_modules/sharp \ | ||
&& npm install [email protected] \ | ||
&& mv node_modules/sharp npm/node_modules/sharp \ | ||
# End hack for sharp | ||
&& cd npm \ | ||
&& npm rebuild bcrypt --build-from-source \ | ||
&& npm cache clear --force | ||
&& cd /app/bundle/programs/server \ | ||
&& npm install --production \ | ||
# Start hack for sharp... | ||
&& rm -rf npm/node_modules/sharp \ | ||
&& npm install [email protected] \ | ||
&& mv node_modules/sharp npm/node_modules/sharp \ | ||
# End hack for sharp | ||
&& cd npm \ | ||
&& npm rebuild bcrypt --build-from-source \ | ||
&& npm cache clear --force | ||
|
||
# needs a mongo instance - defaults to container linking with alias 'mongo' | ||
ENV DEPLOY_METHOD=docker \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters