fix: double copy + local useless copy

This commit is contained in:
2025-12-23 04:14:50 +01:00
parent 76cbd130a0
commit f1197626be

View File

@@ -5,10 +5,7 @@ WORKDIR /opt/urupam
RUN cpanm --notest Carton RUN cpanm --notest Carton
COPY . ./ COPY . ./
RUN rm -rf /opt/urupam/local \ RUN carton install --deployment --without test
&& carton install --deployment --without test
COPY bin lib ./
RUN useradd -m -u 10001 urupam \ RUN useradd -m -u 10001 urupam \
&& chown -R urupam:urupam /opt/urupam && chown -R urupam:urupam /opt/urupam