fix the workdir for the docker build image
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
parent
c5ffb16340
commit
bdfa3a3ba2
@ -3,7 +3,7 @@ FROM nimlang/nim:2.2.0-alpine-regular as build
|
||||
|
||||
RUN apk --no-cache add libsass-dev pcre
|
||||
|
||||
WORKDIR /src/nitter
|
||||
WORKDIR /src
|
||||
|
||||
COPY nitter.nimble .
|
||||
RUN nimble install -y --depsOnly
|
||||
@ -15,8 +15,6 @@ RUN nimble build -d:danger -d:lto -d:strip --mm:refc && \
|
||||
# runs nitter
|
||||
FROM alpine:latest
|
||||
|
||||
WORKDIR /src/
|
||||
|
||||
RUN apk --no-cache add pcre ca-certificates
|
||||
|
||||
WORKDIR /srv
|
||||
|
Loading…
x
Reference in New Issue
Block a user