Skip to content
Snippets Groups Projects
Unverified Commit dbc37ee1 authored by Griefed's avatar Griefed Committed by GitHub
Browse files

Create Dockerfile

parent ad3949a9
No related branches found
No related tags found
No related merge requests found
FROM node:8-alpine
LABEL maintainer="Griefed <griefed@griefed.de>"
LABEL description="Based on https://github.com/d-zone-org/d-zone/tree/v1/docker \
but pulls files from GitHub instead of copying from local filesystem. \
You must set your bot token as an environment variable and your bot must be \
a member of at least one server for this to work."
RUN apk update && apk upgrade && apk add git && \
git clone -b v1/docker https://github.com/d-zone-org/d-zone.git /opt/d-zone && \
cd /opt/d-zone && \
npm install && \
npm run-script build && \
apk del git
WORKDIR /opt/d-zone
RUN node ./script/update-config.js
CMD ["npm","start"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment