Added docker-related files

This commit is contained in:
Alejandro Celaya
2018-06-17 08:04:53 +02:00
parent b008c37a5b
commit 853212b419
6 changed files with 7961 additions and 0 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM node:10.4.1-alpine
MAINTAINER Alejandro Celaya <alejandro@alejandrocelaya.com>
# Install yarn
RUN apk add --no-cache --virtual yarn
# Make home dir writable by anyone
RUN chmod 777 /home
CMD cd /home/shlink/www && \
yarn install && \
yarn start