Skip to content

Commit

Permalink
Updating Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
elielnfinic committed Dec 5, 2022
1 parent 09bf9b5 commit adf7209
Show file tree
Hide file tree
Showing 12 changed files with 56 additions and 11 deletions.
Binary file added backend/.DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions backend/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
target
openden-keypair.pem
connect_ssh.connect_ssh
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.65.0
FROM --platform=linux/x86-64 rust
WORKDIR /usr/src/myapp
COPY . .
RUN cargo install --path .
Expand Down
6 changes: 3 additions & 3 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"files": {
"main.js": "/static/js/main.032f9984.js",
"main.js": "/static/js/main.4f9a1e2f.js",
"static/js/787.0d67c19e.chunk.js": "/static/js/787.0d67c19e.chunk.js",
"static/media/bg-home.png": "/static/media/bg-home.f927a99ac1cc33708487.png",
"static/media/rsa_encrypt_bg.wasm": "/static/media/rsa_encrypt_bg.499782972dfd72002b6c.wasm",
Expand All @@ -9,10 +9,10 @@
"static/media/logo.png": "/static/media/logo.08aae4c0ea908b35017e.png",
"static/media/avatar.png": "/static/media/avatar.2162f0b52c60af67fc76.png",
"index.html": "/index.html",
"main.032f9984.js.map": "/static/js/main.032f9984.js.map",
"main.4f9a1e2f.js.map": "/static/js/main.4f9a1e2f.js.map",
"787.0d67c19e.chunk.js.map": "/static/js/787.0d67c19e.chunk.js.map"
},
"entrypoints": [
"static/js/main.032f9984.js"
"static/js/main.4f9a1e2f.js"
]
}
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/icon.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/icon.png"/><link rel="manifest" href="/manifest.json"/><link rel="stylesheet" href="https://rsms.me/inter/inter.css"><link rel="stylesheet" href="/output.css"><title>Openden</title><script defer="defer" src="/static/js/main.032f9984.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/icon.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/icon.png"/><link rel="manifest" href="/manifest.json"/><link rel="stylesheet" href="https://rsms.me/inter/inter.css"><link rel="stylesheet" href="/output.css"><title>Openden</title><script defer="defer" src="/static/js/main.4f9a1e2f.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
42 changes: 42 additions & 0 deletions build/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,16 @@ select {
margin-bottom: 1rem;
}

.my-10 {
margin-top: 2.5rem;
margin-bottom: 2.5rem;
}

.my-6 {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}

.ml-10 {
margin-left: 2.5rem;
}
Expand Down Expand Up @@ -828,6 +838,10 @@ select {
margin-top: 1rem;
}

.mt-6 {
margin-top: 1.5rem;
}

.block {
display: block;
}
Expand Down Expand Up @@ -952,6 +966,10 @@ select {
flex: 1 1 0%;
}

.flex-auto {
flex: 1 1 auto;
}

.flex-shrink-0 {
flex-shrink: 0;
}
Expand Down Expand Up @@ -1670,6 +1688,14 @@ select {
height: 2.5rem;
}

.sm\:w-full {
width: 100%;
}

.sm\:w-auto {
width: auto;
}

.sm\:max-w-xl {
max-width: 36rem;
}
Expand Down Expand Up @@ -1745,6 +1771,14 @@ select {
display: block;
}

.md\:inline-block {
display: inline-block;
}

.md\:flex {
display: flex;
}

.md\:hidden {
display: none;
}
Expand All @@ -1753,6 +1787,14 @@ select {
width: auto;
}

.md\:flex-auto {
flex: 1 1 auto;
}

.md\:flex-1 {
flex: 1 1 0%;
}

.md\:space-x-8 > :not([hidden]) ~ :not([hidden]) {
--tw-space-x-reverse: 0;
margin-right: calc(2rem * var(--tw-space-x-reverse));
Expand Down
1 change: 0 additions & 1 deletion build/static/js/main.032f9984.js.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/static/js/main.4f9a1e2f.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const BACK_END_URL = "https://production.d33f64ml40aqvx.amplifyapp.com";
export const BACK_END_URL = "http://localhost:4500";//"https://production.d33f64ml40aqvx.amplifyapp.com";
2 changes: 1 addition & 1 deletion src/net/subscribe.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const {post} = require("./api");

export const add_subscriber = async (email, callback) => {
return new Promise((resolve, reject) => {
post("subscribe", {email}, callback).then(response => {
post("contact/add", {email}, callback).then(response => {
resolve(response);
});
});
Expand Down

0 comments on commit adf7209

Please sign in to comment.