Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add docker development configuration and docs
- Loading branch information
1 parent
f213c54
commit 2f9996d
Showing
5 changed files
with
86 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: '3.7' | ||
|
||
volumes: | ||
dependencies: | ||
|
||
services: | ||
dev: | ||
build: | ||
context: . | ||
dockerfile: ./docker-dev.dockerfile | ||
ports: | ||
- 8080:8080 | ||
volumes: | ||
- .:/app | ||
- dependencies:/app/node_modules | ||
tty: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# https://github.com/cypress-io/cypress-docker-images/tree/master/base | ||
FROM cypress/base:10.16.0 | ||
|
||
# Make the `app` folder the current working directory | ||
WORKDIR /app | ||
|
||
# Copy dependency-related files | ||
COPY package.json ./ | ||
COPY yarn.lock ./ | ||
|
||
# Install project dependencies | ||
RUN yarn install | ||
|
||
# Expose ports 8080, which the dev server will be bound to | ||
EXPOSE 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters