Skip to content

Commit

Permalink
fix: empty commit for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Forattini committed Jul 28, 2022
1 parent 9a15200 commit 3d4241f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/actions/create-dockerfile/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/actions/create-dockerfile/index.js.map

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions src/actions/create-dockerfile/stubs/node.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
module.exports = {
stub: `
# This file was autogenerated at <%= generatedAt %>.
FROM <%= image %>:<%= tag %>
Expand All @@ -7,24 +7,24 @@ LABEL <%= labels %>
ENV <%= environmentVariables %>
WORKDIR /app
COPY . /app
WORKDIR /svc
COPY . /svc
RUN <%= dependencyCommand %>
ENTRYPOINT ["python"]
CMD ["app.py"]
ENTRYPOINT ["<%= entrypoint %>"]
CMD ["<%= command %>"]
`,

defaultValues: {
image: 'alpine',
tag: '17',
labels: [],
environmentVariables: [],
dependencyCommand: [],
entrypoint: 'npm',
command: 'start',
image: "node",
tag: "17-alpine",
labels: "build=auto",
environmentVariables: "OS=Alpine",
dependencyCommand: "npm install",
entrypoint: "npm",
command: "start",
},

files: []
}
files: [],
};

0 comments on commit 3d4241f

Please sign in to comment.