diff --git a/pica-metrics-bot/Dockerfile b/pica-metrics-bot/Dockerfile
index 45cfacdb95197963985ca23ce04235d188dc1bc3..01e74325edd1d61255e21928740e788332c43797 100644
--- a/pica-metrics-bot/Dockerfile
+++ b/pica-metrics-bot/Dockerfile
@@ -3,12 +3,10 @@ FROM python:3.8-alpine
 LABEL maintainer quentinduchemin@tuta.io
 ARG METRICS_BOT_VERSION=v1.0
 
-RUN apt-get install -y wget
-
 # Get release
 RUN wget -O code.tar.gz https://gitlab.utc.fr/picasoft/projets/picasoft-metrics-bot/-/archive/${METRICS_BOT_VERSION}/picasoft-metrics-bot-${METRICS_BOT_VERSION}.tar.gz \
     && tar xvf code.tar.gz \
-    && mv picasoft-metrics-bot-${METRICS_BOT_VERSION} /code
+    && mv picasoft-metrics-bot-${METRICS_BOT_VERSION} /code \
     && rm code.tar.gz
 
 # Custom Picasoft entrypoint
diff --git a/pica-metrics-bot/entrypoint.sh b/pica-metrics-bot/entrypoint.sh
index 4a4078a56902de31ec8d4efea23c03ffb820dc3d..e482c215a13485710f2e861970be6f46b5b75002 100644
--- a/pica-metrics-bot/entrypoint.sh
+++ b/pica-metrics-bot/entrypoint.sh
@@ -20,7 +20,7 @@ fi
 if [ -z "${MATTERMOST_PASSWORD}" ]; then
 	echo >&2 'Error : missing required ${MATTERMOST_PASSWORD} environment variable, exiting.'
 	exit 1
-fi.
+fi
 
 if [ -z "${WEKAN_USER}" ]; then
 	echo >&2 'Error : missing required ${WEKAN_USER} environment variable, exiting.'