Skip to content

Commit

Permalink
fix: move sieve install to the front
Browse files Browse the repository at this point in the history
try to invalidate cache as little as possible
  • Loading branch information
ethansieve committed Apr 29, 2024
1 parent 766a96d commit e2ae985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dockerfile/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ func (g *Generator) GenerateBase() (string, error) {
g.installTini(),
installPython,
g.installCython(),
g.installSieve(),
aptInstalls,
pipInstalls,
pythonRequirements,
run,
g.installSieve(),
`WORKDIR /src`,
`EXPOSE 5000`,
`CMD ["python", "-m", "cog.server.http"]`,
Expand Down

0 comments on commit e2ae985

Please sign in to comment.