delete src

This commit is contained in:
jiangyong27 2025-03-13 20:22:11 +08:00
parent fef568310e
commit 8b17f74135
1 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
FROM registry.cn-shanghai.aliyuncs.com/devcon/godev:v1.0.19
#ADD . /app/src
#WORKDIR /app/src
WORKDIR .
ADD . /app/src
WORKDIR /app/src
RUN mkdir -p /app/bin /app/log
RUN export GOROOT=/usr/local/go1.23.1 && \
@ -16,6 +16,7 @@ RUN export GOROOT=/usr/local/go1.23.1 && \
cp -r conf /app && \
cp start.sh /app && \
chmod +x /app/start.sh
RUN rm -rf /app/src
WORKDIR /app
EXPOSE 9283