mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-05-27 07:36:34 +00:00
Added docker-related files
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user