updated gitignore
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -22,6 +22,7 @@ yarn-error.log*
|
|||||||
package-lock.json*
|
package-lock.json*
|
||||||
|
|
||||||
public/png
|
public/png
|
||||||
|
docker
|
||||||
*.xml
|
*.xml
|
||||||
|
|
||||||
# Created by https://www.gitignore.io/api/python
|
# Created by https://www.gitignore.io/api/python
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM python:2.7-alpine3.6
|
FROM alpine:3.6
|
||||||
|
|
||||||
ENV NPM_CONFIG_LOGLEVEL info
|
ENV NPM_CONFIG_LOGLEVEL info
|
||||||
ENV NODE_VERSION 8.2.1
|
ENV NODE_VERSION 8.2.1
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
|
|
||||||
|
`git clone fs-walle-react-ts`
|
||||||
|
`cd fs-walle-react-ts`
|
||||||
|
`npm install`
|
||||||
|
|
||||||
`docker run --rm -it -v $PWD:/walle-react node:8.2.1-alpine /bin/sh`
|
`docker run --rm -it -v $PWD:/walle-react node:8.2.1-alpine /bin/sh`
|
||||||
cd /walle-react
|
cd /walle-react
|
||||||
npm run build
|
npm run build
|
||||||
|
|||||||
10
generate-docker.sh
Normal file
10
generate-docker.sh
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ ! -d "docker" ]; then
|
||||||
|
mkdir docker
|
||||||
|
fi
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
cp -r build freespeech_walle *.py requirements.txt docker/
|
||||||
Reference in New Issue
Block a user