1
0
Fork 0
file-manager/Dockerfile.env

21 lines
348 B
Bash
Raw Normal View History

2018-11-10 09:01:51 +08:00
FROM registry.makerforce.io/ambrose/env
2018-04-02 20:13:09 +08:00
2018-04-02 20:28:39 +08:00
USER root
2018-04-02 20:47:51 +08:00
RUN apk add --no-cache \
build-base \
2018-11-10 12:27:26 +08:00
node-sodium@testing \
2018-04-02 20:47:51 +08:00
python2
2018-04-02 20:13:09 +08:00
COPY . /usr/local/fm
RUN cd /usr/local/fm \
2018-11-10 09:50:21 +08:00
&& /home/ambrose/.local/bin/yarn install \
&& /home/ambrose/.local/bin/yarn cache clean
2018-04-02 22:43:29 +08:00
2018-04-02 20:28:39 +08:00
USER ambrose
2018-04-02 20:13:09 +08:00
2018-04-02 22:43:29 +08:00
ENV SHELL="zsh -l"
2018-04-02 20:13:09 +08:00
CMD ["node", "/usr/local/fm/index.js"]