mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-25 17:42:25 +01:00
ci: updated dockerfile
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
FROM ubuntu:22.04
|
||||
|
||||
# set as non-interactive
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# copy install scripts
|
||||
COPY ./install /app/install
|
||||
@@ -32,17 +32,14 @@ RUN bash /app/install/rod/rod.sh
|
||||
WORKDIR /app/backend
|
||||
|
||||
# node path
|
||||
ENV NODE_PATH /usr/lib/node_modules
|
||||
ENV NODE_PATH=/usr/lib/node_modules
|
||||
|
||||
# timezone environment
|
||||
ENV TZ Asia/Shanghai
|
||||
ENV TZ=Asia/Shanghai
|
||||
|
||||
# language environment
|
||||
ENV LC_ALL C.UTF-8
|
||||
ENV LANG C.UTF-8
|
||||
|
||||
# goproxy
|
||||
ENV GOPROXY goproxy.io,direct
|
||||
ENV LC_ALL=C.UTF-8
|
||||
ENV LANG=C.UTF-8
|
||||
|
||||
# frontend port
|
||||
EXPOSE 8080
|
||||
|
||||
Reference in New Issue
Block a user