Skip to content

Commit

Permalink
Delete lock files on Docker restart
Browse files Browse the repository at this point in the history
  • Loading branch information
galeaspablo committed Nov 12, 2024
1 parent 9315289 commit 70ee32d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ FROM haskell-base AS final
COPY --from=haskell-build /tmp/emulator /opt/emulator/emulator
RUN mkdir -p /opt/emulator/config

ENTRYPOINT ["/opt/emulator/emulator"]
ENTRYPOINT ["sh", "-c", "rm -Rf /root/.local/share/ambar-emulator/queues/*.lock /root/.local/share/ambar-emulator/queues/**/*.lock && /opt/emulator/emulator $0 $@"]

CMD ["run", "--config", "/opt/emulator/config/config.yaml"]

0 comments on commit 70ee32d

Please sign in to comment.