mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-21 23:53:52 +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/*
|
||||
|
||||
ENV HOME /home/$USERNAME
|
||||
USER $USERNAME
|
||||
WORKDIR $HOME
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
# install dependencies
|
||||
RUN yarn global add @vue/cli
|
||||
RUN yarn install
|
||||
|
||||
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
|
||||
|
||||
WORKDIR $HOME
|
||||
|
|
|
@ -2,11 +2,13 @@ version: '3.4'
|
|||
services:
|
||||
web:
|
||||
build:
|
||||
context: .
|
||||
context: ..
|
||||
target: dev
|
||||
dockerfile: .devcontainer/Dockerfile
|
||||
image: freqtradeorg/frequi:dev
|
||||
user: dev
|
||||
volumes:
|
||||
- ../node_modules:/home/dev/frequi/node_modules
|
||||
- ../:/home/dev/frequi
|
||||
command: /bin/sh -c "while sleep 1000; do :; done"
|
||||
networks:
|
||||
|
|
Loading…
Reference in New Issue
Block a user