Skip to content

Commit 718a3d7

Browse files
committed
🐛 Fix Dockerfile syntax
1 parent 53f5a9e commit 718a3d7

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

Dockerfile

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,16 @@ COPY backup.sh /usr/local/bin/
1717
RUN chmod +x /usr/local/bin/backup.sh
1818

1919
# Set environment variables with defaults (can be overridden)
20-
ENV MONGODB_HOST="localhost" \
21-
MONGODB_PORT="27017" \
22-
MONGODB_USERNAME="" \
23-
MONGODB_PASSWORD="" \
24-
MONGODB_AUTH_DB="admin" \
25-
S3_BUCKET="" \
26-
S3_PREFIX="mongodb-backups" \
27-
AWS_ACCESS_KEY_ID="" \
28-
AWS_SECRET_ACCESS_KEY="" \
29-
AWS_DEFAULT_REGION="us-east-1" \
30-
BACKUP_RETENTION_DAYS="30"
20+
ENV MONGODB_HOST="localhost"
21+
ENV MONGODB_PORT="27017"
22+
ENV MONGODB_USERNAME=""
23+
ENV MONGODB_PASSWORD=""
24+
ENV MONGODB_AUTH_DB="admin"
25+
ENV S3_BUCKET=""
26+
ENV S3_PREFIX="mongodb-backups"
27+
ENV AWS_ACCESS_KEY_ID=""
28+
ENV AWS_SECRET_ACCESS_KEY=""
29+
ENV AWS_DEFAULT_REGION="us-east-1"
3130

3231
# Set working directory
3332
WORKDIR /backup

0 commit comments

Comments
 (0)