mirror of
https://github.com/coaidev/coai.git
synced 2025-05-29 18:00:14 +09:00
fix: update dockerfile
This commit is contained in:
parent
13830a1e42
commit
a159b5fbf3
@ -4,7 +4,7 @@
|
||||
|
||||
FROM golang:1.20 AS backend
|
||||
|
||||
WORKDIR /backend
|
||||
WORKDIR /
|
||||
COPY . .
|
||||
|
||||
# Set go proxy to https://goproxy.cn (open for vps in China Mainland)
|
||||
@ -40,7 +40,7 @@ RUN echo "Asia/Shanghai" > /etc/timezone && \
|
||||
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
|
||||
# Copy dist
|
||||
COPY --from=backend /backend /
|
||||
COPY --from=backend / /
|
||||
COPY --from=frontend /app/dist /app/dist
|
||||
|
||||
# Expose port
|
||||
|
Loading…
Reference in New Issue
Block a user