File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
infrastructure/terraform/live/production/compute Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1- FROM node:18 -alpine AS base
1+ FROM node:20 -alpine AS base
22LABEL org.opencontainers.image.source https://github.com/dump-hr/internship-app
33
44FROM base AS builder
Original file line number Diff line number Diff line change 1- FROM node:18 -alpine AS base
1+ FROM node:20 -alpine AS base
22LABEL org.opencontainers.image.source https://github.com/dump-hr/internship-app
33
44FROM base AS builder
@@ -36,8 +36,12 @@ RUN apk add --no-cache \
3636 openjdk17 \
3737 go \
3838 musl-dev
39- RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
40- dotnet6-sdk
39+ RUN wget https://packages.microsoft.com/config/alpine/3.18/packages-microsoft-prod.apk \
40+ -O packages-microsoft-prod.apk && \
41+ apk add --no-cache packages-microsoft-prod.apk && \
42+ apk update && \
43+ apk add --no-cache dotnet6-sdk
44+
4145
4246# Don't run production as root
4347RUN addgroup --system --gid 1001 nestjs
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ module "web" {
4848 source = " ../../../modules/ec2"
4949
5050 name_prefix = " internship-app-production"
51- instance_type = " t3a.small "
51+ instance_type = " t3a.nano "
5252 instance_count = 1
5353 instance_root_device_size = 20
5454 subnets = data. aws_subnets . public_subnets . ids
You can’t perform that action at this time.
0 commit comments