Skip to content

Commit

Permalink
Merge pull request #6 from jaypatel1210/firefetch-fix
Browse files Browse the repository at this point in the history
Firefetch fix
  • Loading branch information
jaypatel1210 authored Oct 19, 2024
2 parents 01b74e2 + 028c565 commit 7b6a3a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion firefetch/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.13.1-alpine as app
FROM node:20.13.1-alpine AS app
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
Expand Down
4 changes: 2 additions & 2 deletions firefetch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,6 @@ async function downloadFromFirebase(remoteDir, localDir) {
}

// Usage
const remoteDir = process.env.PROJECTID;
const localDir = process.env.LOCALDIR;
const remoteDir = process.env.PROJECTID; // example: code/prj_id
const localDir = process.env.LOCALDIR; // example: your local directory
downloadFromFirebase(remoteDir, localDir);

0 comments on commit 7b6a3a6

Please sign in to comment.