Skip to content

Commit 625a1a0

Browse files
committed
added Dockerfile.
1 parent e05c3f2 commit 625a1a0

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM hayd/alpine-deno:1.5.2
2+
3+
EXPOSE 8000
4+
5+
WORKDIR /app
6+
7+
USER deno
8+
9+
COPY --chown=deno . .
10+
11+
#### Run `docker run` command described in readme for server

src/shared/providers/database.provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ const instaFeedDatabase = async () => {
149149
] );
150150
} else {
151151
await DatabaseProvider.insert(
152-
"INSERT INTO media (credentials_id, ig_id, media_type, media_url, thumbnail_url, permalink, timestamp, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?, ?, ?)", [
152+
"INSERT INTO media (credentials_id, ig_id, media_type, media_url, thumbnail_url, permalink, timestamp, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)", [
153153
credentialsId,
154154
item.id,
155155
item.media_type,

0 commit comments

Comments
 (0)