Compare commits

...

2 Commits

Author SHA1 Message Date
cf9597a25d feat: ignore local at docker build 2025-12-23 04:14:58 +01:00
f1197626be fix: double copy + local useless copy 2025-12-23 04:14:50 +01:00
2 changed files with 2 additions and 4 deletions

1
.dockerignore Normal file
View File

@@ -0,0 +1 @@
local

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