Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-reactix
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
purescript-reactix
Commits
204c59a6
Commit
204c59a6
authored
Feb 01, 2021
by
James Laver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add docker build
parent
03c4cc79
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
18 deletions
+26
-18
.babelrc
.babelrc
+0
-18
Dockerfile.dev
Dockerfile.dev
+7
-0
docker-compose.yml
docker-compose.yml
+16
-0
env.sh
env.sh
+3
-0
No files found.
.babelrc
deleted
100644 → 0
View file @
03c4cc79
{
presets: [
["@babel/preset-env", {"useBuiltIns": "usage"}],
"@babel/preset-react"
],
plugins: [
["@babel/plugin-proposal-decorators", { "legacy": true }],
["@babel/plugin-proposal-class-properties", { "loose": true }],
["@babel/plugin-proposal-pipeline-operator", { "proposal": "minimal" }],
"@babel/plugin-proposal-json-strings",
"@babel/plugin-proposal-function-sent",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-throw-expressions",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta"
]
}
Dockerfile.dev
0 → 100644
View file @
204c59a6
FROM node:current-buster-slim
ENV CWD=/opt/app HOME=/opt/app TERM=xterm
RUN apt-get update && apt-get install -y libgmp10 libtinfo5 git
WORKDIR /opt/app
EXPOSE 5000/tcp
CMD ["bash"]
\ No newline at end of file
docker-compose.yml
0 → 100644
View file @
204c59a6
version
:
"
3.5"
services
:
frontend
:
build
:
context
:
.
dockerfile
:
"
Dockerfile.dev"
stdin_open
:
true
tty
:
true
user
:
$UID:$GID
ports
:
-
5000:5000
volumes
:
-
.:/opt/app
-
/etc/group:/etc/group:ro
-
/etc/passwd:/etc/passwd:ro
-
/etc/shadow:/etc/shadow:ro
\ No newline at end of file
env.sh
0 → 100644
View file @
204c59a6
export
UID
=
$(
id
-u
)
export
GID
=
$(
id
-g
)
alias
darn
=
"docker-compose run frontend yarn"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment