fix prod dockerfile build error

This commit is contained in:
blek 2023-11-01 00:46:54 +10:00
parent a0c6c27e8c
commit b1463519d7
Signed by: blek
GPG Key ID: 14546221E3595D0C
2 changed files with 4 additions and 3 deletions

View File

@ -2,8 +2,8 @@ version: '3.7'
services:
filed:
build:
context: filed
dockerfile: Dockerfile.prod
context: .
dockerfile: filed/Dockerfile.prod
networks:
bfile:
volumes:

View File

@ -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