fix prod dockerfile build error
This commit is contained in:
parent
052d40dc8c
commit
3cba73fc1a
|
@ -2,8 +2,8 @@ version: '3.7'
|
|||
services:
|
||||
filed:
|
||||
build:
|
||||
context: filed
|
||||
dockerfile: Dockerfile.prod
|
||||
context: .
|
||||
dockerfile: filed/Dockerfile.prod
|
||||
networks:
|
||||
bfile:
|
||||
volumes:
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
FROM rust:alpine as builder
|
||||
|
||||
WORKDIR /opt/build
|
||||
COPY . .
|
||||
COPY filed .
|
||||
COPY ./.git ./.git
|
||||
|
||||
RUN apk add --no-cache musl-dev upx nodejs yarn && \
|
||||
yarn global add uglify-js
|
||||
|
|
Loading…
Reference in New Issue