Skip to content

Commit 66b2edb

Browse files
author
Gonzalo Diaz
committed
[REFACTOR] sonarlint fixes
1 parent 6c60060 commit 66b2edb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM python:3.11.3-alpine3.16 as base
1+
FROM python:3.11.3-alpine3.16 AS base
22

33
ENV WORKDIR=/app
44
WORKDIR ${WORKDIR}
55

6-
FROM node:20.2.0-alpine3.16 as lint
6+
FROM node:20.2.0-alpine3.16 AS lint
77

88
ENV WORKDIR=/app
99
WORKDIR ${WORKDIR}
@@ -15,11 +15,11 @@ RUN npm install -g markdownlint-cli
1515
RUN apk add --update --no-cache nodejs npm
1616
RUN npm install -g pyright
1717

18-
FROM base as development
18+
FROM base AS development
1919

2020
RUN apk add --update --no-cache make
2121

22-
FROM development as builder
22+
FROM development AS builder
2323

2424
COPY ./src ${WORKDIR}/src
2525
COPY ./requirements.txt ${WORKDIR}/
@@ -34,7 +34,7 @@ RUN pip install -r requirements.txt
3434
##
3535
## https://docs.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions
3636
##
37-
FROM builder as testing
37+
FROM builder AS testing
3838

3939
ENV LOG_LEVEL=INFO
4040
ENV BRUTEFORCE=false
@@ -51,7 +51,7 @@ CMD ["make", "test", "-e", "{DEBUG}"]
5151
## in the production phase, "good practices" such as
5252
## WORKSPACE and USER are maintained
5353
##
54-
FROM builder as production
54+
FROM builder AS production
5555

5656
ENV LOG_LEVEL=INFO
5757
ENV BRUTEFORCE=false

0 commit comments

Comments
 (0)