Added BASE_ULR ENV, and reordered docker file NPM install
parent
593f6321e4
commit
0eaacba591
|
@ -2,6 +2,7 @@
|
|||
FROM alpine:3.10
|
||||
|
||||
ENV CRON_PATH /etc/crontabs
|
||||
ENV BASE_URL /
|
||||
|
||||
RUN mkdir /crontab-ui; touch $CRON_PATH/root; chmod +x $CRON_PATH/root
|
||||
|
||||
|
@ -18,10 +19,14 @@ RUN apk --no-cache add \
|
|||
supervisor
|
||||
|
||||
COPY supervisord.conf /etc/supervisord.conf
|
||||
COPY . /crontab-ui
|
||||
|
||||
|
||||
COPY package*.json /crontab-ui/
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . /crontab-ui
|
||||
|
||||
ENV HOST 0.0.0.0
|
||||
|
||||
ENV PORT 8000
|
||||
|
|
Loading…
Reference in New Issue