mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
fix package json not copied to container
This commit is contained in:
parent
55b5d8681b
commit
595ce28224
|
@ -23,17 +23,19 @@ RUN apt-get update \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
ENV HOME /home/$USERNAME
|
ENV HOME /home/$USERNAME
|
||||||
USER $USERNAME
|
|
||||||
WORKDIR $HOME
|
|
||||||
|
|
||||||
EXPOSE 8080
|
|
||||||
|
|
||||||
# install dependencies
|
|
||||||
RUN yarn global add @vue/cli
|
|
||||||
RUN yarn install
|
|
||||||
|
|
||||||
WORKDIR $HOME/frequi
|
WORKDIR $HOME/frequi
|
||||||
|
|
||||||
|
COPY ./package.json .
|
||||||
|
|
||||||
|
# install dependencies
|
||||||
|
RUN yarn install
|
||||||
|
RUN yarn global add @vue/cli
|
||||||
|
|
||||||
|
USER $USERNAME
|
||||||
|
|
||||||
|
EXPOSE 8080
|
||||||
|
|
||||||
FROM dev as vscode
|
FROM dev as vscode
|
||||||
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
|
@ -2,11 +2,13 @@ version: '3.4'
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: ..
|
||||||
target: dev
|
target: dev
|
||||||
|
dockerfile: .devcontainer/Dockerfile
|
||||||
image: freqtradeorg/frequi:dev
|
image: freqtradeorg/frequi:dev
|
||||||
user: dev
|
user: dev
|
||||||
volumes:
|
volumes:
|
||||||
|
- ../node_modules:/home/dev/frequi/node_modules
|
||||||
- ../:/home/dev/frequi
|
- ../:/home/dev/frequi
|
||||||
command: /bin/sh -c "while sleep 1000; do :; done"
|
command: /bin/sh -c "while sleep 1000; do :; done"
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user