Skip to content

Commit

Permalink
Set Serverless version explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
zhibek committed Aug 24, 2022
1 parent 6a8ee4f commit 032c800
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:14

# AWS CLI needs the PYTHONIOENCODING environment varialbe to handle UTF-8 correctly:
# AWS CLI needs the PYTHONIOENCODING environment variable to handle UTF-8 correctly:
ENV PYTHONIOENCODING=UTF-8

# Install AWS CLI
Expand All @@ -10,7 +10,7 @@ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2

## Install Serverless
WORKDIR /app
RUN npm -g install serverless@2
RUN npm -g install serverless@2.25.2

RUN apt-get update && apt-get install -y locales locales-all
ENV LC_ALL en_US.UTF-8
Expand Down

0 comments on commit 032c800

Please sign in to comment.