Fix docker-compose.
This commit is contained in:
parent
8705cc2a95
commit
2673c351ba
|
@ -207,7 +207,8 @@ services:
|
|||
- SQA_OPT_OUT=true
|
||||
volumes:
|
||||
- ./docker/kratos/config:/etc/config/kratos
|
||||
- type: volume
|
||||
-
|
||||
type: volume
|
||||
source: kratos-sqlite
|
||||
target: /var/lib/sqlite
|
||||
read_only: false
|
||||
|
@ -235,11 +236,13 @@ services:
|
|||
command: serve -c /etc/config/kratos/kratos.yml
|
||||
volumes:
|
||||
- ./docker/kratos/config:/etc/config/kratos
|
||||
- type: volume
|
||||
-
|
||||
type: volume
|
||||
source: kratos-sqlite
|
||||
target: /var/lib/sqlite
|
||||
read_only: false
|
||||
- type: bind
|
||||
-
|
||||
type: bind
|
||||
source: ./.kratos.yml
|
||||
target: /etc/config/kratos/kratos.yml
|
||||
networks:
|
||||
|
|
|
@ -6,12 +6,7 @@ ENV GOARCH amd64
|
|||
|
||||
WORKDIR /root
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y dist-upgrade && \
|
||||
apt-get -y autoremove && \
|
||||
apt-get -y install python3-pip sudo wget curl zip vim nano nload psmisc less mime-support logrotate cron && \
|
||||
apt-get clean && \
|
||||
go get -d -u github.com/NebulousLabs/skynet-accounts/... && \
|
||||
RUN go get -d -u github.com/NebulousLabs/skynet-accounts/... && \
|
||||
ln -s $GOPATH/src/github.com/NebulousLabs/skynet-accounts ./ && \
|
||||
cd $GOPATH/src/github.com/NebulousLabs/skynet-accounts && \
|
||||
make release && \
|
||||
|
|
Reference in New Issue