Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align Node version with LTS used in Dockerfile.tornjak-container #277

Merged
merged 2 commits into from
Jun 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:

- uses: actions/[email protected]
with:
node-version: '15'

node-version: '18'
- name: golangci-lint
uses: golangci/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.frontend-container
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
## Build stage
FROM node:16-alpine3.14 AS build
FROM node:18-alpine3.14 AS build
WORKDIR /usr/src/app
COPY tornjak-frontend .
RUN npm install && \
npm run build

## Runtime stage
FROM node:16-alpine3.14 AS runtime
FROM node:18-alpine3.14 AS runtime
WORKDIR /usr/src/app
COPY --from=build /usr/src/app/build ./build
COPY --from=build /usr/src/app/.env.prod .
Expand Down