Skip to content

Instantly share code, notes, and snippets.

@whopiyush
Created July 25, 2019 18:17
Show Gist options
  • Select an option

  • Save whopiyush/7e551961cc56be8a7cfae3e433c8b96e to your computer and use it in GitHub Desktop.

Select an option

Save whopiyush/7e551961cc56be8a7cfae3e433c8b96e to your computer and use it in GitHub Desktop.
Modmail Dockerfile
FROM alpine:3.10
WORKDIR /usr/src/modmail
COPY . .
ENV LC_ALL=en_US.UTF-8 \
LANG=en_US.UTF-8
RUN apk update \
&& apk add --no-cache --update python3 nodejs npm \
&& pip3.7 install --no-cache-dir -U pip pipenv\
&& npm i -g pm2 \
&& pipenv run pip freeze > requirements.txt \
&& pip3.7 install -r requirements.txt \
&& chmod +x ./run.sh
CMD [ "pm2", "run.sh" ]
@anishshobithps

Copy link
Copy Markdown

OwO

@whopiyush

Copy link
Copy Markdown
Author

dabs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment