6 Commits
0.0.3 ... main

7 changed files with 29 additions and 4 deletions

3
.gitattributes vendored Normal file
View File

@@ -0,0 +1,3 @@
*.Dockerfile linguist-vendored
*/Dockerfile linguist-vendored
*.docker-compose.yml linguist-vendored

View File

@@ -1,14 +1,13 @@
[package]
name = "turbo_open"
name = "turborun"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = { version = "4.0", features = ["derive"] }
crossterm = "0.23"
dialoguer = "0.10.4"
[[bin]]
name = "turbo_open"
name = "turborun"
path = "main.rs"

View File

@@ -0,0 +1,13 @@
FROM mhart/alpine-node:14
RUN apk add curl
COPY [".", "/usr/src"]
WORKDIR "/usr/src"
RUN npm install
ARG NODE_ENV
CMD if [ "$NODE_ENV" = "develop" ] ; then npm run dev ; else npm run start ; fi

View File

@@ -0,0 +1,10 @@
version: "2.9"
services:
app:
build: .
volumes:
- .:/usr/src
- /usr/src/node_modules
environment:
NODE_ENV: ${NODE_ENV}

0
README.md Normal file
View File