Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Commit ff78342

Browse files
committed
build: move docker build to Makefile
1 parent 0597702 commit ff78342

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

‎.gitpod.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
1-
# This configuration file was automatically generated by Gitpod.
2-
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
3-
# and commit this file to your remote git repository to share the goodness with others.
4-
51
tasks:
6-
- init: docker build -t api . && docker run --rm --publish 8080:8080 api
7-
8-
2+
- init: make build

‎Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.DEFAULT_GOAL := run
2+
3+
4+
build:
5+
@docker build -t api .
6+
7+
run: build
8+
@docker run --rm --publish 8080:8080 api

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /