Merge pull request #288 from thelounge/astorije/docker-cleanup
Remove Docker-related files
This commit is contained in:
commit
566351b694
25
Dockerfile
25
Dockerfile
@ -1,25 +0,0 @@
|
|||||||
#
|
|
||||||
# Thanks to @Xe for the Dockerfile template
|
|
||||||
# https://github.com/Shuo-IRC/Shuo/pull/87/files
|
|
||||||
#
|
|
||||||
|
|
||||||
FROM node:4.0-onbuild
|
|
||||||
|
|
||||||
# Create a non-root user for lounge to run in.
|
|
||||||
RUN useradd --create-home lounge
|
|
||||||
|
|
||||||
# Needed for setup of Node.js
|
|
||||||
ENV HOME /home/lounge
|
|
||||||
|
|
||||||
# Customize this to specify where The Lounge puts its data.
|
|
||||||
# To link a data container, have it expose /home/lounge/data
|
|
||||||
ENV LOUNGE_HOME /home/lounge/data
|
|
||||||
|
|
||||||
# Expose HTTP
|
|
||||||
EXPOSE 9000
|
|
||||||
|
|
||||||
# Drop root.
|
|
||||||
USER lounge
|
|
||||||
|
|
||||||
# Don't use an entrypoint here. It makes debugging difficult.
|
|
||||||
CMD node index.js --home $LOUNGE_HOME
|
|
@ -1,4 +0,0 @@
|
|||||||
lounge:
|
|
||||||
build: .
|
|
||||||
ports:
|
|
||||||
- "9000:9000"
|
|
Loading…
Reference in New Issue
Block a user