Fix the production dockerfile #12

Merged
blek merged 3 commits from fix-prod-build into 0.2-dev 2023-10-31 16:35:59 +01:00
2 changed files with 4 additions and 3 deletions
Showing only changes of commit b1463519d7 - Show all commits

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